[Bug 17838] New: Availability limit broken until an item has been checked out
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Bug ID: 17838 Summary: Availability limit broken until an item has been checked out Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org The availability limit in the OPAC will return on results, until an item has been checked out for the first time.
From the mailing list:
The index doesn't exist, so the query fails, the index just has to exist (which it does as soon as something is circulated, it will continue to work if you return that item, the index doesn't go away, unless you do a full reindex and have not circulated anything ever) In practice people don't run into this much at all. However the fix is just in the ccl.properties file /etc/koha/zebradb/ccl.properties change line 1032 From onloan 1=8024 to onloan 1=8024 14=1 And it will work even if you library has never done a circulation operation -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Academy -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Zoe Schoeler <crazy.mental.onion@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 --- Comment #1 from Zoe Schoeler <crazy.mental.onion@gmail.com> --- Created attachment 59130 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59130&action=edit Bug 17838 Availability limit broken until an item has been checked out. TEST PLAN 1. Make sure you have no items checked out. 2. Run sudo koha-rebuild-zebra -f -v kohadev. 3. Go to search the catalog and search. 4. Check items availability and then click on limit to currently available items. 5. This should return no results. 6. Apply patch and reload. 7. Results should show. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #59130|0 |1 is obsolete| | --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 59133 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59133&action=edit [SIGNED OFF] Bug 17838 Availability limit broken until an item has been checked out. TEST PLAN 1. Make sure you have no items checked out. 2. Run sudo koha-rebuild-zebra -f -v kohadev. 3. Go to search the catalog and search. 4. Check items availability and then click on limit to currently available items. 5. This should return no results. 6. Apply patch and reload. 7. Results should show. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Zoe Schoeler <crazy.mental.onion@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crazy.mental.onion@gmail.co | |m Assignee|gmcharlt@gmail.com |crazy.mental.onion@gmail.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #59133|0 |1 is obsolete| | --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 59582 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59582&action=edit Bug 17838 Availability limit broken until an item has been checked out. TEST PLAN 1. Make sure you have no items checked out. 2. Run sudo koha-rebuild-zebra -f -v kohadev. 3. Go to search the catalog and search. 4. Check items availability and then click on limit to currently available items. 5. This should return no results. 6. Apply patch and reload. 7. Results should show. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Attribute 14: " Specifies whether un-indexed fields should be ignored. A zero value (default) throws a diagnostic when an un-indexed field is specified. A non-zero value makes it return 0 hits."
From http://www.indexdata.com/zebra/doc/querymodel-zebra.html
-- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |kyle@bywatersolutions.com --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to master for 17.05, thanks Zoe! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- This patch has been pushed to 16.11.x and will be in 16.11.04. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #6 from Julian Maurice <julian.maurice@biblibre.com> --- Pushed to 3.22.x for 3.22.17 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17838 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com --- Comment #7 from Mason James <mtj@kohaaloha.com> --- Pushed to 16.05.x, for 16.05.10 release -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org