The search with parenthesis in 'q=xxxxx(x)xx' raises an error message "Can't call method "sort" on an undefined value at /home/koha/src/C4/Search.pm line 404." The easier way to solve this problem is to put quotes for the query, q="xxxx(x)xx"
Created attachment 13458 [details] [review] proposed patch To test, do a search, in the search.pl, find a line with parenthesis in itemcallnumber eg: [EMP 133.620 (1) CCL.5294] and click on the link, without patch you'll have an error message. With the patch, the link is ok, an you can see the request as: cgi-bin/koha/catalogue/search.pl?idx=callnum&q="EMP 133.620 (1) CCL.5294"
I wanted to test this, but I can't seem to reproduce that error message on master. I did a search for an item that has call number [AR EUch (Thu) 1974], but I don't get any error message when I click on it in the staff client or the OPAC.
I too am unable to reproduce this on master.
I'm marking this invalid since it's been a year and no one has been able to reproduce.