[Koha-bugs] [Bug 23475] Search context is lost when simple search leads to a single record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 18 09:42:19 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23475
--- Comment #28 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
1. There are 2 unneeded use statements in catalogue/detail.pl
2. Shouldn't we use the same selectors for:
+ if ( search_index ){
$('.advsearch[name="idx"]').val(search_index)};
vs
+ localStorage.setItem('cat_search_pulldown_selection', $("#cat-search-block
select.advsearch").val() );
and
+ if ( search_value ){ $('#search-form').val(search_value)};
vs
+ localStorage.setItem('searchbox_value', $("#cat-search-block
#search-form").val() );
to make thing more obvious. Is there a reason not to?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list