http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1649 Summary: nozebra advanced search fails, with adv. keywords Product: Koha Version: rel_3_0 Platform: Macintosh OS/Version: All Status: NEW Severity: normal Priority: P3 Component: Searching AssignedTo: jmf@liblime.com ReportedBy: mason.james@liblime.com QAContact: koha-bugs@nongnu.org Hi Joshua and Paul. Some of the newer zebra searches, arent handled in nozebra? in nozeb searches like 'ti= starwars', or 'au= smith' work as expected but advanced search like 'ti wrdl= starwars', or 'au,phr= smith' fail Any ideas on how to handle this. should nozebra search simply strip and ignore the advanced wrdl and phr type search keywords and turn them into a simple-search??, my current workaround is this regex to strip out the advanced keyword before the search, in NZanalyze() my $results; # strip adv, zebra keywords, currently not handled in nozebra: # wrdl, ext, phr... $left =~ s/[ ,].*$//; # automatic replace for short operators $left='title' if $left =~ '^ti$'; $left='author' if $left =~ '^au$'; $left='publisher' if $left =~ '^pb$'; $left='subject' if $left =~ '^su$'; $left='koha-Auth-Number' if $left =~ '^an$'; $left='keyword' if $left =~ '^kw$'; any better ideas guys Cheers, Mason. ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.