Ticket #12831 (assigned Bug)

Opened 4 years ago

Last modified 4 years ago

Previous/Next Functionality Wrong in Plone 4

Reported by: srtuttle Owned by: nrb
Priority: minor Milestone: 4.x
Component: Backend (Python) Version: 4.1
Keywords: Previous/Nexttuneup Cc:

Description

In Plone 3 Subfolders were not included in the Previous/Next links. At some point objects were filtered to see if they were folders. In Plone 4 everything in the folder is included. This is confusing and I don't believe the correct functionality.

Change History

comment:1 Changed 4 years ago by eleddy

  • Component changed from Unknown to Backend (Python)

comment:2 Changed 4 years ago by eleddy

which version of Plone 4 are you on? I'm not 100% sure I understand the issue. Can you break it down into steps to recreate, expected behavior and actual behavior please?

comment:3 Changed 4 years ago by esteele

  • Keywords Previous/Nexttuneup added; Previous/Next removed
  • Status changed from new to confirmed

To reproduce, add a folder (FolderA) with some content items and a sub folder (FolderB) with content items. Turn on next/previous navigation for FolderA. While paging through the contents of FolderA, it will show the contents of FolderB. This is a change from Plone 3.x.

comment:4 Changed 4 years ago by nrb

  • Owner set to nrb
  • Status changed from confirmed to assigned

comment:5 Changed 4 years ago by nrb

The place to fix for this looks like it will be in plone.app.folder.nextprevious.NextPrevious.__init__, most likely around the context.getOrdering() call.

Note: See TracTickets for help on using tickets.