]> git.koha-community.org Git - koha.git/commit
Bug 11880: Select what has been selected before
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 24 Apr 2015 08:02:19 +0000 (10:02 +0200)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 22 Sep 2015 01:25:26 +0000 (13:25 +1200)
commita14cc8fdc8bdcc3b9f7080c047ff85d839559886
tree912130a548690910a0be7e8816ce9d380ff86930
parent99cfec30bf9924e7d5cf1a8967cbaa613d7ad357
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 1f0ff90360c21e5e24df9f455681b1bf4ae92031)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt
labels/label-item-search.pl