]> git.koha-community.org Git - koha.git/commit
(bug #3149) fix searchorder
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Tue, 19 May 2009 09:53:50 +0000 (11:53 +0200)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 21 May 2009 13:49:32 +0000 (08:49 -0500)
commita063e94c9401bdf6350a6f4662f551e0618ded8d
tree0febbe4864bc6b0db0a60af1bd02a0afc6572ab1
parentce4c8c5b1e7e76493be466f095e068b0c2fad48c
(bug #3149) fix searchorder

this patch fix the searchorder function, and add to the SQL query a "AND biblionumber" statement if a biblionumber is speficied.
Sometimes C4::Acquisitions::searchorder() find more than one result, so the user is looping to the same page to choose the great record, adding a contraint to biblionumber allows to be more strict.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Acquisition.pm