Bug 17300: Fix serials search

Since bug 16157, the location value is always "All" and the serial
search won't return anything.

Test plan:
Search for some serials.
Without this patch, it won't return any results
With this patch applied, the result search should be consistent

Reproduced with serial's "Advanced search" and search filter in
left hand column. Fixed by this patch.
Signed-off-by: Marc <veron@veron.ch>

Advanced search works fine again.
Signed-off-by: Andreas Roussos <arouss1980@gmail.com>

Signed-off-by: Katrin Fischer  <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 613c83f4e3)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Jonathan Druart 2016-09-14 14:41:20 +01:00 committed by Frédéric Demians
parent 92d648f579
commit 28eafe0b07
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
[% IF avs %]
<select id="[% name %]" name="[% name %]" class="[% class %]" >
[% IF all %]<option value="All">All</option>[% END %]
[% IF all %]<option value="">All</option>[% END %]
[% FOR av IN avs %]
[% IF av.default %]
<option value="[% av.value %]" selected="selected">[% av.label | html_entity %]</option>