Project

General

Profile

Bug #25362

Reset page to 1 when selecting per page

Added by boaz shust 5 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
JavaScript stack
Target version:
Difficulty:
easy
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

While working on the models table, I realized that the page should be reset to 1 when selecting per_page.

To reproduce this error:
1) Go to Hosts > Hardware Models
2) Create 10 new models unless you have at least 10 models
3) In the pagination row select 5 per page
4) Go to the second page from the pagination row
5) Select 20 per page from the pagination row

What I received:
An empty table

What I expected to have:
Move to the first page and see models in the table

Associated revisions

Revision 06350560 (diff)
Added by Boaz Shuster about 2 months ago

Fixes #25362 - Reset page to 1 when selecting per page

Signed-off-by: Boaz Shuster <>

History

#1 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6189 added

#2 Updated by Ohad Levy about 2 months ago

  • Target version set to 1.22.0
  • Fixed in Releases 1.22.0 added

#3 Updated by Anonymous about 2 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker about 2 months ago

  • Fixed in Releases 1.21.0 added
  • Fixed in Releases deleted (1.22.0)

Also available in: Atom PDF