Project

General

Profile

Refactor #17574

Update to scoped_search 4.x

Added by Dominic Cleal over 5 years ago. Updated almost 4 years ago.

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

Description

scoped_search 4.0.0 will be released soon with some backwards incompatible changes and deprecations, including:

  • The default behaviour of sort needs params filtered to link only to permitted parameters.
  • :in/:alias options to registrations are deprecated

Foreman should be updated from 3.x to 4.x.

(https://github.com/wvanbergen/scoped_search/blob/master/CHANGELOG.rdoc)


Related issues

Related to Foreman - Bug #17364: User search using usergroup do not workClosed2016-11-16
Related to OpenSCAP - Refactor #18810: FIx deprecated scoped_search syntaxClosed2017-03-06
Related to Foreman Remote Execution - Refactor #21215: update scoped_search syntaxClosed2017-10-05
Blocks Foreman - Bug #12547: Search raises PGError on feeding a non-integer value for a integer fieldClosed2015-11-20
Blocks foreman-tasks - Bug #15922: Task search not properly validating input, throws SQL errorClosed2016-08-01

Associated revisions

Revision ed67b8c9 (diff)
Added by Dominic Cleal over 5 years ago

fixes #17574, #17364 - update scoped_search to 4.x

scoped_search's sort() now accepts a replacement for params which is
filtered in an overridden Foreman sort helper, permitting additional
parameters used in Foreman's index pages.

Replaces :in and :alias in search definitions with preferred keywords.

Revision bf37bbf7 (diff)
Added by Dominic Cleal over 5 years ago

refs #17574 - use scoped_search 4.x

History

#1 Updated by Dominic Cleal over 5 years ago

  • Related to Bug #17364: User search using usergroup do not work added

#2 Updated by The Foreman Bot over 5 years ago

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

#3 Updated by Dominic Cleal over 5 years ago

  • Blocks Bug #12547: Search raises PGError on feeding a non-integer value for a integer field added

#4 Updated by Shimon Shtein over 5 years ago

  • Blocks Bug #15922: Task search not properly validating input, throws SQL error added

#5 Updated by Dominic Cleal over 5 years ago

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

#6 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 209

#7 Updated by Marek Hulán over 5 years ago

#8 Updated by Anonymous over 4 years ago

Also available in: Atom PDF