--- .../prog/en/modules/members/search.tmpl | 3 +++ serials/routing-preview.pl | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tmpl index 2baecf3..8989d23 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tmpl @@ -2,6 +2,9 @@ <h3 > Filter :</h3> <input type="hidden" name="surname" value="<!-- TMPL_VAR name="surname"-->" /> <input type="text" name="member" value="<!-- TMPL_VAR name="member"-->" /><br/> + <!-- TMPL_IF NAME="subscriptionid" --> + <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->"> + <!-- /TMPL_IF --> <label for="branchcode"> Library :</label><select name="branchcode" id="branchcode"> <option value="">Any</option><!-- TMPL_LOOP name="branchloop" --> <!-- TMPL_IF NAME="selected" --> diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl index 5b9b5b0..ab9e6a6 100755 --- a/serials/routing-preview.pl +++ b/serials/routing-preview.pl @@ -103,7 +103,7 @@ if($ok){ my @results; my $data; for(my $i=0;$i<$routing;$i++){ - $data=GetMember($routinglist[$i]->{'borrowernumber'},'borrowernumber'); + $data=GetMember('borrowernumber' => $routinglist[$i]->{'borrowernumber'}); $data->{'location'}=$data->{'branchcode'}; $data->{'name'}="$data->{'firstname'} $data->{'surname'}"; $data->{'routingid'}=$routinglist[$i]->{'routingid'}; -- 1.6.3.3 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches