[Koha-bugs] [Bug 14764] Add OPAC News branch selector

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 2 04:17:25 CET 2016


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

Liz Rea <liz at catalyst.net.nz> changed:

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

--- Comment #27 from Liz Rea <liz at catalyst.net.nz> ---
Created attachment 57059
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57059&action=edit
Bug 14764: OPAC news selector

Adds the new system preference to the pref and SQL files.

Bug 14764: OPAC news selector - Atomic update SQL

Adds an SQL file to perform the database upgrade.

Bug 14764: OPAC news selector - Template tags

Test plan:

1) Add more than one library, at least two in total is needed. Make note of
which is your current user's home branch.
2) Go to Tools -> News and add one global ("All") news item and one specific
for each branch.
3) Apply the patches.
4) Perform database upgrades when you log in.
5) Go to OPAC main, it should work as before: Showing global news as well as
the news for your home branch once logged in.
6) Go to System Preferences -> OPAC and set 'OPACNewsBranchSelect' to yes.
7) Go to OPAC main, you should see the global news item plus any items for your
home branch for the current user if logged in.
8) Above the news, you will see a dropdown that lists the branches. Select one,
and click "Change library."
9) You should now see global news and the news for the selected branch,
regardless of whether logged in or not.

Sponsored-By: Halland County Library

Fixes QA comments:

* Keep the current selected branch selected

* Change OPACNewsBranchSelect -> OPACNewsLibrarySelect

* fix 'all libraries' view for logged in user - note that I've gotten rid of
"system wide news" in favour of "all libraries." It's terminology, whatever you
think is best.

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


More information about the Koha-bugs mailing list