Refactor #17574
Update to scoped_search 4.x
Description
scoped_search 4.0.0 will be released soon with some backwards incompatible changes and deprecations, including:
- The default behaviour of
sort
needsparams
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
Associated revisions
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
Applied in changeset ed67b8c93fc0e98916ed266c986a5871a1cc86c7.
#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
- Related to Refactor #18810: FIx deprecated scoped_search syntax added
#8
Updated by Anonymous over 4 years ago
- Related to Refactor #21215: update scoped_search syntax added
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.