[Bug 16355] New: Searching for items added before or after a specific date [add item for label only]
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 Bug ID: 16355 Summary: Searching for items added before or after a specific date [add item for label only] Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Label/patron card printing Assignee: cnighswonger@foundations.edu Reporter: z.tajoli@cineca.it QA Contact: testopia@bugs.koha-community.org Hi, when I am adding a new batch for labeling with ../labels/label-item-search.pl and searching on or after a specific date, I don't retreive any data. I'm using MARC21 If I use advance search from ../catalogue/search.pl with index <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option> I find same records. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Change sponsored?|--- |Sponsored Patch complexity|--- |Medium patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=14527 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 bestbookbuddies <info@bestbookbuddies.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|cnighswonger@foundations.ed |info@bestbookbuddies.com |u | CC| |info@bestbookbuddies.com Status|NEW |Needs Signoff --- Comment #1 from bestbookbuddies <info@bestbookbuddies.com> --- Created attachment 61767 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61767&action=edit Bug 16355 - Fix Searching for items added before or after a specific data As specified searching for items added before or after a specific data is not working in Koha 16.x while using MARC-21 format. After applying this patch desired result is generated. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 --- Comment #2 from bestbookbuddies <info@bestbookbuddies.com> --- As specified "Searching for items added before or after a specific date" is not working in Koha 16.x while using MARC-21. After applying this patch, desired result is generated. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexbuckley@catalyst.net.nz Status|Needs Signoff |Patch doesn't apply --- Comment #3 from Alex Buckley <alexbuckley@catalyst.net.nz> --- This patch does not apply successfully Bug 16355 - Searching for items added before or after a specific date [add item for label only] 61767 - Bug 16355 - Fix Searching for items added before or after a specific data Apply? [(y)es, (n)o, (i)nteractive] y Traceback (most recent call last): File "/usr/local/bin/git-bz", line 2630, in <module> do_apply(*args) File "/usr/local/bin/git-bz", line 1755, in do_apply users = bug.server.get_xmlrpc_proxy().User.get({ 'names': [patch.attacher] })['users'] File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/xmlrpclib.py", line 1591, in __request verbose=self.__verbose File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/xmlrpclib.py", line 1321, in single_request response.msg, xmlrpclib.ProtocolError: <ProtocolError for bugs.koha-community.org/xmlrpc.cgi: 404 Not Found> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #61767|0 |1 is obsolete| | --- Comment #4 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 78497 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78497&action=edit Bug 16355: Fix Searching for items added before or after a specific data As specified searching for items added before or after a specific data is not working in Koha 16.x while using MARC-21 format. After applying this patch desired result is generated. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |In Discussion CC| |mtompset@hotmail.com --- Comment #5 from M. Tompsett <mtompset@hotmail.com> --- (In reply to Alex Buckley from comment #3)
This patch does not apply successfully
Because it was a diff, not a patch. If you downloaded it and then did a: patch -p1 < downloaded.diff Plus a few commands to create the patch with the correct author, and attempt to maintain comments, it would git bz apply. I've git bz-ified it. However, I'm moving this to "In Discussion", because of my reading: relation.relation This pattern specifies how a CQL relation is mapped to RPN. The pattern is name of relation operator. Since = is used as separator between CQL pattern and RPN, CQL relations including = cannot be used directly. To avoid a conflict, the names ge, eq, le, must be used for CQL operators, greater-than-or-equal, equal, less-than-or-equal respectively. The RPN pattern is supposed to include a relation attribute. (https://software.indexdata.com/yaz/doc/tools.html#ccl.syntax) I do not know if this is the correct solution, and I think someone more versed in CCL and the inner query workings of Koha is better suited to say yay or nay to this. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shi-yao.wang@inLibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16355 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED Resolution|--- |DUPLICATE --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I believe this has been resolved by bug 20765. *** This bug has been marked as a duplicate of bug 20765 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org