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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 22 16:59:38 CEST 2015


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

--- Comment #5 from Martin Persson <xarragon at gmail.com> ---
Test plan:

* Apply dependant patch 14246 (if not done already).
* Apply current patch.
* Execute the database update file (requires PERL5LIB and KOHA_CONF to be set
up):
  $ perl perl installer/data/mysql/atomicupdate/add_news_prefs.pl
* Log into the Staff client, go to 'Administration' -> 'Global Preferences' ->
'Tools', a new section titled 'News' should appear with a single option named
'NewsAuthorDisplay'. Available values should be 'Not at all', 'OPAC only',
'Staff client only' and 'Both OPAC and staff client'. By default the value
should be 'Not at all' (to mimic existing behaviour, important!).
* Change the value to something different and save the changes.
* Use the mysql command line client to connect to the Koha database:
  $ mysql -u kohaadmin -p -D koha
* Enter the following query:
  SELECT * FROM systempreferences WHERE variable = 'NewsAuthorDisplay';
* Check to make sure that the 'value' column has changed to reflect the choice
you made in the above step.

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


More information about the Koha-bugs mailing list