Bug 22544: Refactor searching of news items
authorJosef Moravec <josef.moravec@gmail.com>
Wed, 20 Mar 2019 11:07:22 +0000 (11:07 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Jul 2021 10:17:28 +0000 (12:17 +0200)
commit6eaae7e626236d47921ece99d68b16ef4229b419
tree0ba4c9f22b750324b89976ebaf0710342833dcad
parente7d21b6b623be3ad4cceaaefd0ef28c68c06278b
Bug 22544: Refactor searching of news items

Test plan:
1) Go to tools and define some news
2) Try different parameters, try to edit new items, and delete some
3) Go to all places where news are presented and ensure that there are
the right ones shown:
    opac main page - based on language
    opac righ column (formerly syspref OpacNavRight) - based on language
    opac news rss feed
    circulation slip (not quick slip)
    intranet main page
4) run tests:
prove t/db_dependent/Koha/News.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Members.pm
Koha/News.pm
Koha/Template/Plugin/KohaNews.pm
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
mainpage.pl
opac/opac-main.pl
opac/opac-news-rss.pl