[Koha-patches] [PATCH] Bug 5755: Syspref to control facets truncation

Frédéric DEMIANS f.demians at tamil.fr
Mon Feb 14 10:31:47 CET 2011


Le 14/02/2011 09:55, Paul Poulain a écrit :

 > It's not necessary, but I think it would be useful: a given library
 > may be interested to set the value to something else than 20. Without
 > creating the syspref in the DB, the library would miss it exist &
 > can't change the value.

Thanks for your feedback.

The FacetOpacMaxLength appears in Admin > Syspref > Searching > Results
Display section. So after an update, systempreferences table won't have
a value for this new syspref, but the syspref itself will appear in
admin and will be editable. It's possible because the .pref files based
'new' syspref editor doesn't need a entry for a syspref to be
functional.

Anyway, I can send a followup patch for updatedatabase.pl script if
others also think it's cleaner...

-- 
Frédéric



More information about the Koha-patches mailing list