| Summary: | Search for authid not returning right results with QueryAutoTruncate ON | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Adolfo Rodríguez Taboada <adolfo.rodriguez> |
| Component: | Searching - Elasticsearch | Assignee: | Adolfo Rodríguez Taboada <adolfo.rodriguez> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | januszop, magnus |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32707 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | Don't add * when searching an authid | ||
|
Description
Adolfo Rodríguez Taboada
2023-05-26 07:48:17 UTC
Created attachment 151724 [details] [review] 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. (In reply to Katrin Fischer from comment #2) > Maybe bug 32707 would fix this as well? Yes, it would--in a more general way, IMHO, also solving a problem of sn:1 and the like. A more general solution would be better, so you may close this bug. Please consider signing off bug 32707 then, it would really help to make things move forward. > A more general solution would be better, so you may close this bug.(In reply to Adolfo Rodríguez Taboada from comment #4)
|