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.