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:
parent
b39e01a349
commit
15338b7cd5
1 changed files with 1 additions and 1 deletions
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue