[Koha-bugs] [Bug 14305] Public way to look at the Opac of different branches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 5 15:45:50 CEST 2016


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

--- Comment #7 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 41639
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41639
Bug 14305: View arbitrary branch's news, RSS fix

Review of attachment 41639:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14305&attachment=41639)
-----------------------------------------------------------------

::: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
@@ -53,2 @@
>                  <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
>                  RSS feed for [% IF ( loggedinusername ) %][% Branches.GetName( branchcode ) %] <i>and</i> [% END %] system-wide library news.

If a user is not logged in and passes branchcode=BranchA in the URL, line 54
isn't going to display correctly.
Add '?branch={some branchcode that has specific branch news}' to your opac-main
url. Notice the RSS message is wrong.

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


More information about the Koha-bugs mailing list