From: Galen Charlton Date: Wed, 8 Apr 2009 20:13:12 +0000 (-0500) Subject: qualify warn; sort_by is not a required search parameter X-Git-Tag: new_acq_a_porter~329 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=14dd58e57741f9ff500c42ff9dc1b03c6c954dc8;p=koha_fer qualify warn; sort_by is not a required search parameter Signed-off-by: Galen Charlton --- diff --git a/C4/Search.pm b/C4/Search.pm index 2646bccc37..e965682a8f 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -427,7 +427,7 @@ sub getRecords { $sort_by .= "1=4 >i "; } else { - warn "Ignoring unrecognized sort '$sort' requested"; + warn "Ignoring unrecognized sort '$sort' requested" if $sort_by; } } if ($sort_by) {