Jump to content

Pagination in comments and reviews tabs


Sonya*

Recommended Posts

Posted

If I allow comments AND reviews on a record (in my example, events) then I have weird behavior if there is a pagination for both:

E. g. on the view of event http://example.com/index.php?/calendar/event/1-bla-bla/ I have two tabs: Reviews (with 3 pages) and Comments (with 2 pages).

  1. If I click on page 2 on the review tab, then I get to the page 2 on review tab - OK.
  2. If I click on page 3 on the review tab, then I get to the page 2 on the comments tab - false.

But it happens only if the query string tab=reviews is not in URL. Once the string is there, everything works as desired.

http://example.com/index.php?/calendar/event/1-bla-bla/&page=3#reviews <-- this link from the review pagination kicks me to comments even if I on the reviews
http://example.com/index.php?/calendar/event/1-bla-bla/&tab=reviews&page=3#reviews <-- this link from the review pagination works as desired.

Both links derive from the same pagination on the same page. The first one is when I am on http://example.com/index.php?/calendar/event/1-bla-bla/ and the second one when I am on http://example.com/index.php?/calendar/event/1-bla-bla/&tab=reviews.

Unfortunately I cannot submit a bug as I am not on 4.4.4 so far. If someone use both comments and reviews (calendars, images, files and so on) and can reproduce this on 4.4.4, please submit a bug. Thank you!

EDIT: This seems to be the same bug as for canonical, where parameter tab in url is omitted. 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...