Koha-clms/labels
Jonathan Druart f365143c18 Bug 11880: Select what has been selected before
The previous patch wants to select the barcode option when the user is
on the item search for label, in all cases.
So even if 'title' is selected, a search done, and there is no result,
the barcode index is selected anyway.
In this case, the title option should be kept.

Test plan:
Confirm that the barcode option is the default choice, but other values
are kept if the search does not return any result.

Followed test plan, behaves as expected. Tested with all choices.
Signed-off-by: Marc Veron <veron@veron.ch>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 1f0ff90360)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-09-29 01:06:09 +13: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 8375: Use TrueType fonts in PDF::Reuse 2014-05-05 21:53:18 +00: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 11880: Select what has been selected before 2015-09-29 01:06:09 +13: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