[Koha-bugs] [Bug 33802] On OPAC authority detail page, usage count in wrong (when using Elasticsearch)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 25 14:42:43 CEST 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #151553|0                           |1
        is obsolete|                            |

--- Comment #5 from David Nind <david at davidnind.com> ---
Created attachment 151675
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151675&action=edit
Bug 33802: On OPAC authority detail page, usage count in erroneous

If QueryAutoTruncate is enabled, the biblio usage count of an authority
displayed on OPAC may be wrong. This is due to the fact that the authid
search being automatically truncated, a search for biblios using
authority 22 will retrieved also biblios using authorities 222, 22*.

TO TEST:

1. On a Koha with authorities, enable QueryAutoTruncate.
2. Go on opac-authoritiesdetail.pl page for an authority with the lowest
   possible authid. Let say 1.
3. Confirm that you have a large biblios usage count, and that by
   clicking on the link to see linked biblios, you get far less biblios
   than expected.
4. Apply the patch. Repeat 2-3.

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list