Bug 7843: (QA followup) Make news selection persistant
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 6 Mar 2015 09:37:04 +0000 (10:37 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 30 Apr 2015 19:33:21 +0000 (16:33 -0300)
commit432deab9edad8ea9bbccc783794cfdfbe698087c
treef3d301241bc4e63e86621fc892ca59090a165327
parentfcec3cfdaf3f6afe1333218cf4b582316aeb25f0
Bug 7843: (QA followup) Make news selection persistant

This patch makes the following changes:
1) If there is no logged in patron, the RSS link states it is for
   system-wide news.
2) If a patron is logged in, the RSS link states it is for system-wide
   news *and* news for the patron's home library.
3) The patron's home branch code is embedded in the RSS feed url so
   he or she no longer needs to be logged in for us to know what branch's
   news to pull.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
opac/opac-news-rss.pl