Bug 11880: Select the barcode index by default then searching for label items.

Test case:
* Go to "Tools -> Label creator -> Manage batches"
* Click on the "New batch" button
* Click on the "Add item(s)" button
* A search window should open. The "Barcode" value should be selected in the the selectbox.

Followed test case. Patch behaves as expected.
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>
This commit is contained in:
Frédérick 2014-02-28 16:21:46 -05:00 committed by Tomas Cohen Arazi
parent b39e01a349
commit 15338b7cd5

View file

@ -59,7 +59,7 @@ to add to Batch [% batch_id %]
[% ELSE %]<option value="se">Series title</option>[% END %]
[% IF ( selected ) %]<option value="bc" selected="selected">Barcode</option>
[% ELSE %]<option value="bc">Barcode</option>[% END %]
[% ELSE %]<option value="bc" selected="selected">Barcode</option>[% END %]
[% IF ( selected ) %]<option value="acqdate" selected="selected">Acquisition date</option>
[% ELSE %]<option value="acqdate">Acquisition date</option>[% END %]