Project

General

Profile

Bug #12649

Index search not retained when using form's cancel button

Added by Bryan Kearney almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1285013
Description of problem:

When using the web gui to manage either Host Groups or Puppet Classes
(and possibly other search filters)
filters are not always maintained when leaving a selection

Version-Release number of selected component (if applicable):

6.1.2

How reproducible:

100% for customer

Steps to Reproduce: (this example is for puppet classes)
1. Enter a filter to narrow down your select, and select a class to change.
2. Move to Smart Class Parameters.
3. Over ride a value, and select submit.
4. When you return to the list of classes, the filter is maintained
5. If you do not commit your change, by hitting cancel rather than
submit, the filter is removed when returning to the class list

Actual results:

Filter is removed when updating an item is cancelled

Expected results:

Filter should be maintained whether cancelling or submitting
a change to an item from the filter list.

Additional info:


Related issues

Related to Foreman - Bug #5773: editing resources in UI returns view to wrong page and searchClosed2014-05-17

Associated revisions

Revision a005b7dc (diff)
Added by Kavita Gaikwad over 2 years ago

Fixes #12649 - Index search not retained on cancel click

On pages puppet classes and host group, index search is not
retained on form's cancel click.
Added cancel_path_with_index_search method
in file application_helper.rb

History

#1 Updated by Dominic Cleal almost 4 years ago

  • Subject changed from Search filters are inconsistent to Index search not retained when using form's cancel button
  • Assignee deleted (Ohad Levy)

#2 Updated by Dominic Cleal almost 4 years ago

  • Related to Bug #5773: editing resources in UI returns view to wrong page and search added

#3 Updated by Ohad Levy over 3 years ago

  • Assignee set to Gail Steiger

#4 Updated by The Foreman Bot over 2 years ago

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

#5 Updated by Kavita Gaikwad over 2 years ago

  • Assignee changed from Gail Steiger to Kavita Gaikwad
  • Target version set to 158

#6 Updated by Kavita Gaikwad over 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#7 Updated by Dominic Cleal over 2 years ago

  • Legacy Backlogs Release (now unused) set to 209

Also available in: Atom PDF