Project

General

Profile

Actions

Bug #25362

closed

Reset page to 1 when selecting per page

Added by boaz shust over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
JavaScript stack
Target version:
-
Difficulty:
easy
Triaged:
No
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

Actions #1

Updated by The Foreman Bot over 5 years ago

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

Updated by Ohad Levy about 5 years ago

  • Target version set to 1.22.0
  • Fixed in Releases 1.22.0 added
Actions #3

Updated by Anonymous about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Tomer Brisker about 5 years ago

  • Fixed in Releases 1.21.0 added
  • Fixed in Releases deleted (1.22.0)
Actions #5

Updated by Tomer Brisker almost 5 years ago

  • Target version deleted (1.22.0)
Actions

Also available in: Atom PDF