Bug #322

Feature #14: tags for projects

Pagination broken in projects list

Added by Chris Cannam about 13 years ago. Updated about 13 years ago.

Status:ClosedStart date:2011-11-11
Priority:NormalDue date:
Assignee:Chris Cannam% Done:

0%

Category:-
Target version:-

Description

The project list no longer paginates correctly -- the pagination links at the bottom are correct (or at least plausible) but the list itself now contains all projects all of the time.

Clicking through to a second "page" just reveals another page of all the same projects.

History

#1 Updated by Luis Figueira about 13 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee changed from Luis Figueira to Chris Cannam

Addressed in b2a9e64b8283 but not in a sustainable way. This commit patches the Redmine's Core. Unfortunately looks like it's not possible to override the Projects controller's index action:

http://www.redmine.org/projects/redmine/wiki/Plugin_Internals?version=1

Any ideias on how to fix this in a clean way?

#2 Updated by Chris Cannam about 13 years ago

Confirming that the current fix/hack does in fact work.

The Project controller index method is just a method, and methods can be unhooked and replaced... can't the index method just be aliased?

#3 Updated by Luis Figueira about 13 years ago

Aliased the index action in the plugin's Project Controller Patch (see dd33798e514d).

#4 Updated by Chris Cannam about 13 years ago

  • Status changed from In Progress to Closed

Fix confirmed, but see also #337.

Also available in: Atom PDF