]> git.koha-community.org Git - koha.git/commit
Bug 14173: Paging on 'recent comments' page in OPAC is not displaying correctly
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Mon, 1 Jun 2015 18:34:00 +0000 (15:34 -0300)
committerLiz Rea <wizzyrea@gmail.com>
Mon, 15 Jun 2015 21:23:13 +0000 (09:23 +1200)
commitef7de413c8571d8429994f7855550fedb97e39e2
treedd1785a61d33817e4055d48c784aa25cef77e840
parentaf127c124f1575a96cc3efca7eff0ef9135e88e6
Bug 14173: Paging on 'recent comments' page in OPAC is not displaying correctly

This patch corrects the display of current page on
a multipage recent comments.

To test:
1) Enable OpacShowRecentComments

2) Add multiple comments to multiple records
I used a script to add multiple lines like
"insert into reviews values ($i, 51, $i, 'Comment $i', 1, '2015-06-01 00:00:00')"
to table reviews

3) On OPAC, go to 'Recent comments', verify the bug

4) Apply the patch

5) Reload and check correct display

Can't found missing space near 'by' from description.
Display is correct for me.

Followed test plan, displays as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 7928cdfbd405de9d4a8fffc535d3dcbd9a95226c)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt