[Bug 3689] New: Searching for a single keyword returns no results, although they exist
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3689 Summary: Searching for a single keyword returns no results, although they exist Product: Koha Version: HEAD Platform: All OS/Version: All Status: NEW Severity: major Priority: P5 Component: Searching AssignedTo: ricmarques@spamcop.net ReportedBy: ricmarques@spamcop.net Estimated Hours: 0.0 Change sponsored?: --- This applies to the current HEAD of the Koha "3.0.x" git branch: In a setup that doesn't use Zebra ("NoZebra"), a keyword search (default "Library Catalog" search) in the catalog for a single keyword always returns 0 (zero) results, although there are results in the database for that keyword. I am preparing a small correction for this, that builds on the following patch: ---------------------------------------- C4/Search.pm followup auto_truncation http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commit;h=3287252c0f71a100919... author Henri-Damien LAURENT <henridamien.laurent@biblibre.com> Mon, 21 Sep 2009 21:04:46 +0000 (23:04 +0200) committer Henri-Damien LAURENT <henridamien.laurent@biblibre.com> Mon, 21 Sep 2009 21:09:43 +0000 (23:09 +0200) commit 3287252c0f71a10091995beff4eeb18257bbbc04 ---------------------------------------- The patch (that will be submitted by me in a few minutes) changes the line 1228 of the Search.pm file FROM: unless ( $index =~ /(st-|phr|ext)/ ) { TO: unless ( $index =~ /(st-|phr|ext|kw)/ ) { So, my patch just adds "kw" to the regular expression matched in that line -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3689 --- Comment #1 from Ricardo Dias Marques <ricmarques@spamcop.net> 2009-10-02 14:02:39 --- Created an attachment (id=1198) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1198) Small correction so that single keyword searches work, for NoZebra Patch sent through git-send-email -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3689 Ricardo Dias Marques <ricmarques@spamcop.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 |PATCH-Sent -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3689 Ricardo Dias Marques <ricmarques@spamcop.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Ricardo Dias Marques <ricmarques@spamcop.net> 2009-10-14 17:57:10 --- On 7-Oct-2009, Henri-Damien Laurent commited the following alternative patch, for the 3.0.x branch: Bug Fix : 3689 Disabling Query_AutoTruncate for NoZebra searches http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commit;h=e9d4ec72d31d6eb76ea... This patch seems to have solved this issue, at least for me. Thank you Henri! :) -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com