[Bug 29724] New: Different authority usage count
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29724 Bug ID: 29724 Summary: Different authority usage count Change sponsored?: --- Product: Koha Version: 21.05 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: fribeiro@keep.pt When searching for authorities, in the results table, the column "Used in" contains a different value from the counter shown at the details page of that authority. The first count comes from https://github.com/Koha-Community/Koha/blob/v21.05.07/Koha/SearchEngine/Elas... The second one comes from https://github.com/Koha-Community/Koha/blob/v21.05.07/Koha/Authorities.pm#L5... This last subroutine may return an incorrect value because the querybuilder adds a * at the end. Eg. "query": "(koha-auth-number:722*)" Maybe we can replace simple_search_compat with count_auth_use -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29724 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- Indeed its a bug. Already reported in Bug 26608 *** This bug has been marked as a duplicate of bug 26608 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29724 --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- Thanks for this report. Best regards, -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org