[Koha-bugs] [Bug 20265] Add syspref to hide news published date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 2 22:24:14 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20265

Roch D'Amour <roch.damour at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #72194|0                           |1
        is obsolete|                            |

--- Comment #4 from Roch D'Amour <roch.damour at inlibro.com> ---
Created attachment 72387
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72387&action=edit
This patch adds a system preference that allows a user to toggle the published
date for OPAC news items on or off.

Test plan:
1. Login to the staff client, navigate to Tools → News and create some news
articles that have their display location set to “All”.
2. Navigate to the OPAC and notice that the news items you added have a line at
the bottom reading “(published on mm/dd/yyyy)”.
3. Apply the patch.
4. Enter the instance user session - $ sudo koha-shell kohadev
5. Change into your git directory - $ cd kohaclone
6. Update the database - $ perl installer/data/mysql/updatedatabase.pl
7. Exit the instance user session and restart Apache, Memcached and Plack - $
restart_all
8. Open the staff client and navigate to Koha administration→ Global system
preferences, click the “OPAC” tab on the left and notice a new option
“OPACNoNewsDate” under the “Features” heading.
9. Select “Don’t show”, save and notice that the published date of news items
on the OPAC is now suppressed.
10. Select “Show” and notice that the published date of news items on the OPAC
is visible once more.

Signed-off-by: Roch D'Amour <roch.damour at inlibro.com>

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


More information about the Koha-bugs mailing list