Pagination

khawaja - February 18, 2009 - 03:29
Project:Workspace
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Instead of just listing a specific number of maximum items on a page, provide pagination.

[first] [prev] [4] [5] [6] [next] [last]

etc

#1

pdcarto - May 12, 2009 - 16:06

This seems like such an obvious UI requirement that I can only imagine that there's some reason why pagination was *not* included.

#2

hutch - May 12, 2009 - 20:58

The configurable maximum numbers are "per page", not an absolute maximum, as you can see in the code, for instance in function workspace_list_content starting on line 205

#3

peter-boeren - May 13, 2009 - 13:44

I also needed normal paging for a customer. Added paging by creating following patch. It uses the number of max number of items on a page that an user set. I only needed nodes so code isn't tested for files of comments.

AttachmentSize
workspace_with_pager.patch 421 bytes

#4

pdcarto - May 15, 2009 - 00:10

The patch works for me - thanks!

#5

Frank Ralf - July 15, 2009 - 16:45
Category:feature request» support request
Status:active» needs review

Changed status to remind me (and others) that there's already a patch to be tested ;-)

#6

aimutch - November 19, 2009 - 21:12

Is this why a list of content that I have doesn't show all of the content that I created?

#7

peter-boeren - November 24, 2009 - 11:06

Aimutch. That is the correct assumption.

 
 

Drupal is a registered trademark of Dries Buytaert.