[Koha-bugs] [Bug 34857] OPAC advanced search operator "not" is searching as "and" after completing an "and" search
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 4 16:52:50 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34857
jesus at medios.es changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jesus at medios.es
--- Comment #2 from jesus at medios.es ---
The search query varies according to the browser used. For Chrome (anonymous)
and Firefox the result URL is correct. For Chrome standard it is not:
Started happening in 22.11, when this code in opac-advsearch.tt was introduced:
window.addEventListener('pageshow', function( e ){
$('.form-control').prop('disabled' , false );
});
Result URL in Chrome
https://catalog.bywatersolutions.com/cgi-bin/koha/opac-search.pl?advsearch=1&op=AND&idx=kw&q=keyword1&op=NOT&idx=kw&q=keyword2&do=Search&sort_by=relevance
Result URL in Firefox and anonymous Chrome:
https://catalog.bywatersolutions.com/cgi-bin/koha/opac-search.pl?advsearch=1&idx=kw&q=keyword1&op=NOT&idx=kw&q=keyword2&do=Search&sort_by=relevance
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list