[Koha-bugs] [Bug 14247] System preference for news author display

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 24 13:54:07 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14247

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at biblibre.co
                   |                            |m
             Status|Signed Off                  |Failed QA

--- Comment #7 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Martin,
Actually, the atomicupdate file should have been created like:

== installer/data/mysql/atomicupdate/add_news_prefs.sql
-- your comment
INSERT IGNORE INTO systempreferences (variable,type,options,value,explanation)
VALUES('NewsAuthorDisplay','Choice','none|opac|staff|both','none','Display the
author name for news items.');

And that's all.
On this way, it will be executed by the updatedatabase.pl script.
ATM it does not deal with pl scripts.

This is not blocker, the RM will manage to deal with it.

However you have to add the new syspref in the sysprefs file
(installer/data/mysql/sysprefs.sql).

Marked as Failed QA.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list