(bug #3149) fix searchorder
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Tue, 19 May 2009 09:53:50 +0000 (11:53 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:18:56 +0000 (23:18 +0200)
commite50a32fb0beb50b56ee1fc69c6d87ad3a10796b1
treed1a9f3f8d4ea7731818e255c85bf004fc3787f08
parent0607af5c624a4279340538fd49fb8624c78333d3
(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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Acquisition.pm