[Koha-bugs] [Bug 33842] Search for authid not returning right results with QueryAutoTruncate ON
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 26 09:57:46 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33842
Adolfo RodrÃguez Taboada <adolfo.rodriguez at xercode.es> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |Needs Signoff
Assignee|koha-bugs at lists.koha-commun |adolfo.rodriguez at xercode.es
|ity.org |
--- Comment #1 from Adolfo RodrÃguez Taboada <adolfo.rodriguez at xercode.es> ---
Created attachment 151724
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151724&action=edit
Don't add * when searching an authid
Change in the function _truncate_terms so it doesn't add * when searching an
authid, as it's an autonumeric id so starting with the same numbers doesn't
mean they are related.
To test
1 Make sure the system preference QueryAutoTruncate is turned ON
2 Search an authority with a low id (1,2...) and see that the number of records
in the results page and in the detail page don't match.
3 Apply patch, restart services
4 Repeat step 2 and check that the number of records now match.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list