http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7085
Owen Leonard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|[email protected] |[email protected] --- Comment #1 from Owen Leonard <[email protected]> 2011-10-25 14:11:38 UTC --- I had similar problems searching, although it was hit and miss. On a fresh database I found I couldn't search for and find the first order I added, but I could search for and find the *second* one. Checking the SQL generated by GetHistory in Acquisitions.pm I couldn't see any difference between the two queries, but I did notice that the script builds the SQL by checking if inputs are defined: if ( defined $title ) { $query .= " AND biblio.title LIKE ? "; I'm not sure when it's appropriate to use "if ( defined $input )" versus "if ( $input )," but changing it to the latter seems to make the query work. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
