[buddypress-trac] [BuddyPress Trac] #6205: Notification counter vs. pagination

buddypress-trac noreply at wordpress.org
Wed Feb 11 19:26:43 UTC 2015


#6205: Notification counter vs. pagination
---------------------------------------+------------------------------
 Reporter:  danbp                      |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Component - Notifications  |     Version:  2.2
 Severity:  normal                     |  Resolution:
 Keywords:                             |
---------------------------------------+------------------------------

Comment (by danbp):

 Tested with 2013, i confirm that pagination doesn't work for notification
 page.

 Yes, the page # is highlighted, the url seems correct, but nothing happen
 onclick. The only thing who change is the page number.

 Going upward is ok, but  when going from to 2 to 1 or using the arrow, the
 url is wrong
 /notifications/&/ and the content stays on page 1 in any case.

 Commenting this bp-notification-template solved the #038 issue:

 {{{
 $this->pag_links = str_replace( '?'      . $r['page_arg'] . '=1', '',
 $this->pag_links );
 $this->pag_links = str_replace( '&' . $r['page_arg'] . '=1', '',
 $this->pag_links );
 }}}


 But not the content issue.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6205#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list