diff --git a/circ/ysearch.pl b/circ/ysearch.pl index b9e75d0d4d..5db55ff4e1 100755 --- a/circ/ysearch.pl +++ b/circ/ysearch.pl @@ -52,7 +52,7 @@ if ( C4::Context->preference("IndependentBranches") $limit_on_branch = 1; } -my @parts = split( / /, $query ); +my @parts = split( /,\s|\s/, $query ); my @params; foreach my $p (@parts) { push(