Koha Tutorial Videos

Monday Minutes: New Search Options on Staff Interface

In this week's Monday Minutes, Kelly and Jessie show two new search features in the staff interface!

New System Preference

There is a new system preference, IntranetAddMastheadLibraryPulldown, which will allow multi-branch libraries the ability to add a specific branch to their search.

When choosing the "Search the Catalog" option from the top green bar, there is an added option to refine the search. Once this system preference is turned on, the option to filter by library will be included.

Update: When testing this out, although super nice, we thought it would be nice for libraries to have the branch dropdown without that added click. Our Web Designer, Lucas, created some jquery for libraries to alter this. This jquery would make the search bar (with this system preference on) look like this:

If a library would like this look, here is the jquery to add to the system preference, internetuserjs. If you are a partner of ByWater Solutions, and would like us to add this for you, please submit a ticket and we would be happy to assist!

$(document).ready(function () {

if ( $('#catalog_search').length ) {

let mainform_container = $('#search-form').parent();

if ( $('#catalog_search .advsearch').length ) {

mainform_container.prepend( $('#catalog_search .advsearch') );

$('#catalog_search .advsearch').css('width' , '100px')

}

if ( $('#catalog_search #select_library').length ) {

mainform_container.append( $('#catalog_search #select_library') );

}

$('.form-extra-content-toggle').hide();

}

});

Searching Within a Search

Another fun search option that has been added to the staff interface is the ability to search within the results of a search. Once a search has been performed on the staff interface, above the results, will be another search option. This will allow staff to search within the first set of results, for another piece of information!

22.11 Resources

Koha 22.11: Upgrades Hub