Bug 6249: Can't order accepted suggestions

Order link was missing URL parameters.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Katrin Fischer 2011-04-21 23:55:56 +02:00 committed by Chris Cormack
parent e7ea2ca4a3
commit 4770c531af

View file

@ -46,9 +46,9 @@
</td>
<td>
[% IF ( suggestions_loo.biblionumber ) %]
<a href="neworderempty.pl?booksellerid=[% suggestions_loo.supplierid %]&amp;basketno=[% suggestions_loo.basketno %]&amp;suggestionid=[% suggestions_loo.suggestionid %]&amp;biblio=[% suggestions_loo.biblionumber %]" class="button">Order</a>
<a href="neworderempty.pl?booksellerid=[% supplierid %]&amp;basketno=[% basketno %]&amp;suggestionid=[% suggestions_loo.suggestionid %]&amp;biblio=[% suggestions_loo.biblionumber %]" class="button">Order</a>
[% ELSE %]
<a href="neworderempty.pl?booksellerid=[% suggestions_loo.supplierid %]&amp;basketno=[% suggestions_loo.basketno %]&amp;suggestionid=[% suggestions_loo.suggestionid %]" class="button">Order</a>
<a href="neworderempty.pl?booksellerid=[% supplierid %]&amp;basketno=[% basketno %]&amp;suggestionid=[% suggestions_loo.suggestionid %]" class="button">Order</a>
[% END %]
</td>
</tr>