[Koha-patches] [PATCH] BUG-2393: ENHANCEMENT: SearchMember() uses "cardnumber%" wildcard - if other search-types fail
paul POULAIN
paul.poulain at biblibre.com
Thu Jul 31 13:43:13 CEST 2008
Ryan Higgins a écrit :
>
> I agree it is better to have the staff learn to use '%' in the query
> if they want.
> Mason, I'd suggest for the library that wants this, to use a bit of
> javascript to
> append it to the query. As Joe mentioned, and I mentioned in the
> bugzilla enhancement
> record, a 'starts with' just doesn't make sense for most libraries
> around these parts;
> the more often desired behavior is to be able to type in the _last_
> few digits of
> the card number.
>
> So it shouldn't default to a cardnumber starts-with anyway, imo.
>
> Maybe a better solution is to add a 'staff user js' syspref, which
> would make it easier
> to attach a local function to alter the patron search queries?
Couldn't we use the already existing QueryAutoTruncate ?
--
Paul POULAIN
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
NOUVEAU TELEPHONE : 04 91 81 35 08
More information about the Koha-patches
mailing list