Koha/labels
Zeno Tajoli 69c42067ce Bug 11222: fix crash that can occur in search for items to add to label batch
This patch fixes a regression on label-item-search.pl introduced by
the patch for bug 9239 where searching for items to add to a label
batch fails with an error if QueryParser is not enabled and you use
the "Added on or before date" search option.

Test plan:

0) Set "UseQueryParser" to "do not try"
1) Start with an installation with bibliografic data and items
   information.
2) Check that in items there are values inside Accession Date

Without the patch:
a) Go in Home› Tools› Labels  and click on 'New batch'
b) Click on 'Add Item(s)'
c) Try to select items with option "Added on or before date"
d) You will receive an error

With the patch:
Try steps a),b), and c)
Now you don't receive an error and you can select items

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Added a description of the problem and copied the test plan from the bug
report, with the addition of the information that QueryParser must be
off to confirm and test.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-11-23 19:54:38 +00:00
..
label-create-csv.pl Bug 8442 - labels creator fixes for plack 2012-07-24 16:21:05 +02:00
label-create-pdf.pl Bug 8442 - labels creator fixes for plack 2012-07-24 16:21:05 +02:00
label-create-xml.pl Bug 8442 - labels creator fixes for plack 2012-07-24 16:21:05 +02:00
label-edit-batch.pl Bug 10527: remove disused routine C4::Branch::get_branch_code_from_name 2013-07-12 20:20:20 +00:00
label-edit-layout.pl Bug 8490: fix Plack error when creating label layout 2012-11-05 08:35:06 -05:00
label-edit-profile.pl Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
label-edit-template.pl Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
label-home.pl Fix FSF address in directory labels/ 2010-03-16 20:17:50 -04:00
label-item-search.pl Bug 11222: fix crash that can occur in search for items to add to label batch 2013-11-23 19:54:38 +00:00
label-manage.pl Bug 10527: remove disused routine C4::Branch::get_branch_code_from_name 2013-07-12 20:20:20 +00:00
label-print.pl Bug 8943 - Add table sorting to labels - Followup - Sort pulldowns in batch export. 2013-03-31 08:33:42 -04:00
spinelabel-home.pl textual cleanup of new quick spine label code 2009-08-02 11:08:16 -04:00
spinelabel-print.pl Change in API : ordnum becomes ordernumber 2009-10-30 00:30:47 +01:00