]> git.koha-community.org Git - koha.git/commit
Bug 12721 - Syspref StatisticsFields: Warning on About page and text change in System...
authorMarc Véron <veron@veron.ch>
Sun, 18 Oct 2015 16:27:58 +0000 (18:27 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 19 Jun 2016 21:22:24 +0000 (09:22 +1200)
commitf49adba138c7deb6736c50a75e1863b1d4647669
treecb979012f3189c2ef1902a974b56ceda61a5adb3
parent9aea6d98ab95b0b5d7b8d97f5d726f30737a6483
Bug 12721 - Syspref StatisticsFields: Warning on About page and text change in System preferences

This patch adds a warning to the about page if the syspref 'StatisticsFields' is misconfigured.
Additionally, the text on Home > Administration > SystemPreferences for 'Statistics Fields'
is changed.

To test:
- Apply patch
- Edit syspref 'StatisticsFields'. Verify that the explanation makes sense.
- Leave field empty
  => verify that no message appears on About page, tab System information
- Insert valid field names, e.g. location|itype
  => verify that no message appears on the About page
- Add trailing char
  => verify that the warning message appears on the About page
- Fill in some garbage or misspell a field name
  => verify that the warning message appears on the About page

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 95f492b4d2505103269b295a34bab74804df9746)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit f6694ce92ff4b60aea1234e9a138853fb0406f18)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref