The bug throw because the booksellerid is not in the request, and the newordersuggestion.pl need this one to import
it in a new order.
So I just added an hidden input in the search form.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
<div id="suggestions_search" class="residentsearch">
<p class="tip">Suggestions Search:</p>
<form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
+ <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
<label for="searchtitle">Title:</label> <input type="text" id="searchtitle" name="title" size="10" value="<!-- TMPL_VAR NAME="title"-->" />
<label for="searchauthor">Author:</label> <input type="text" id="searchauthor" name="author" size="10" value="<!-- TMPL_VAR NAME="author" -->" />
<label for="searchpublishercode">Publisher:</label> <input type="text" id="searchpublishercode" name="publishercode" size="10" value="<!-- TMPL_VAR NAME="publishercode"-->" />