Bug 6249: Can't order accepted suggestions
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 21 Apr 2011 21:55:56 +0000 (23:55 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 21 Apr 2011 22:07:40 +0000 (10:07 +1200)
Order link was missing URL parameters.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt

index 09cd5cf..f6edc63 100644 (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>