]> git.koha-community.org Git - koha.git/commit
Bug 5755: Syspref to control facets truncation
authorFrédéric Demians <f.demians@tamil.fr>
Wed, 16 Mar 2011 19:21:17 +0000 (15:21 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 22 Mar 2011 08:06:35 +0000 (21:06 +1300)
commit769faee11a835bb573bd9fea6d413ab927360fc2
treeb0a6efd9caba85cbf4312d4ad214745c94ecd028
parent98d702e0344a66bf1e4c3e80ba150d0b65d1d3b4
Bug 5755: Syspref to control facets truncation

On OPAC/staff result page facets are truncated to 20 characters. On some OPAC
layout, it's not enough. A new syspref FacetLabelTruncationLength defines the
length to cut facets if necessary.

This patch add the syspref to searching.pref and add it to syspref various
language default values loaded into DB during installation process. It's not
necessary to update DB since length is fixed to 20 (as before) when this
syspref isn't defined in systemprefercences table.

Rebased to last HEAD: 2011.03.18

[Documentation] FacetLabelTruncationLength syspref in Searching tab

[3.2] It doesn't apply.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Search.pm
installer/data/mysql/de-DE/mandatory/sysprefs.sql
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/it-IT/necessari/sysprefs.sql
installer/data/mysql/pl-PL/mandatory/sysprefs.sql
installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql
installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref