[Koha-bugs] [Bug 24155] Weights should be (optionally) applied to Advanced search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 3 02:06:28 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24155

--- Comment #5 from Myka Kennedy Stephens <mkstephens at lancasterseminary.edu> ---
I would also like to add that as I was doing my base-line testing for this bug,
I found something interesting. When clicking on a record in the result list,
then clicking on the button to return to the results, the search re-executes
and applies weights. If a user had performed a search using advanced search
where weights are not applied, then used the button to return to the results
list, they would find that the results were in a different order.

The work-around is to just use the browser's back button to return to the
advanced search results list. If we're giving people the option to apply
weights to the advanced search, however, this inconsistency will continue to
happen unless there's a way to specify the return to results link to go back to
the previous results instead of launching a new search.

I did notice that there is a search_id value in the URL when the search
re-executes that is not there in the URL for the advanced search:

http://localhost:8081/cgi-bin/koha/catalogue/search.pl?advsearch=1&idx=kw&q=computer&op=and&idx=kw&q=program*&op=and&idx=kw&sort_by=relevance
vs.
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?idx=kw&q=computer&op=and&idx=kw&q=program*&op=and&idx=kw&searchid=scs_1583197470738&offset=0

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list