Bug 5888: Fix building of query in authors links

'all' checkbox was taken into account, resulting in the string 'on and'
added to beginning of query.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Julian Maurice 2012-09-19 15:38:12 +02:00 committed by Jared Camins-Esakov
parent 9a3d28e203
commit 70a639a707

View file

@ -532,9 +532,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
<span class="results_summary"><span class="label">Additional authors:</span>
<div class="authorSearch" id="authorSearch">
<span><b>Select the item(s) to search :</b></span>
<br />
<input type="checkbox" onchange="checkAll(this, '#authorsList')"> <b>all</b>
<hr />
<ul id="authorsList">
<li><input type="checkbox" onchange="checkAll(this, '#authorsList')"> <b>all</b></li>
<li><hr /></li>
[% FOREACH MARCAUTHOR IN MARCAUTHORS %]
<li>
[% IF (MARCAUTHOR.authoritylink) %]