Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2007 at 19:20 UTC
Updated:
19 Oct 2014 at 17:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
douggreen commented... removing one extraneous line in patch file
Comment #2
moshe weitzman commentedi once did this without a patch: http://cvs.drupal.org/viewvc.py/drupal/contributions/tricks/pager_withou.... that might have bit rotted since then. maybe this patch is useful still - i dunno.
Comment #3
douggreen commentedYes, it can be done without a patch. I'm just proposing some refactoring so that we get a new API function that makes it easier to do. Compared to your "trick" solution, what you get by using the pager call is an additional calculations on page position.
Comment #4
bdragon commentedReroll from root.
D7 fodder?
Reroll brought to you by patch bingo.
Comment #5
panchoIf it can be done without API changes, I guess it will be something for D7...
Comment #6
lilou commentedPatch still applied.
Comment #7
cburschkaWhy is testbot not testing this?
I like it muchly - reinventing pagers just because you are not using a database query is annoying.
Comment #8
lilou commented* Coding standard correction in comments.
* Add NULL default argument for $count in
pager_init()Comment #9
catchNeeds updating for dbtng - db_result() is deprecated.
Comment #10
netw3rker commentedThis was a D6 issue that got punted to a D7 feature request. It looks to have been implemented via a different set of issues and patches though. I think its safe to say this is closed since the functionality described in the OP and patches is clearly implemented in D7. See here for reference:
https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_de...
feel free to reopen this issue if that is not adequate going forward!