Bug #5685

add :path_ids as argument to with_taxonomy_scope rather than with_taxonomy_scope_override for SmartProxy select dropdowns

Added by Joseph Magen over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Joseph Magen
Category:Organizations and Locations
Target version:Sprint 24
Difficulty: Bugzilla link:1107697
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.1Release relationshipAuto

Description

with_taxonomy_scope_override calls .unscoped, so it is better to add :path_ids as argument rather than using with_taxonomy_scope_override which does exactly the same thing, replaces :subtree_ids with :path_ids

Associated revisions

Revision 58ea0de6
Added by Joseph Magen over 3 years ago

fixes #5685 - add :path_ids to with_taxonomy_scope instead of subtree_ids for SmartProxy select dropdowns

Revision aa3c7b1e
Added by Joseph Magen over 3 years ago

fixes #5685 - add :path_ids to with_taxonomy_scope instead of subtree_ids for SmartProxy select dropdowns

(cherry picked from commit 58ea0de6d8c31c309398de5c870c69665170c869)

History

#1 Updated by Joseph Magen over 3 years ago

  • Subject changed from add :path_ids as argument to with_taxonomy_scope rather than with_taxonomy_scope_override to add :path_ids as argument to with_taxonomy_scope rather than with_taxonomy_scope_override in hosts_and_hostgroups_helper.rb
  • Status changed from Assigned to Ready For Testing

#2 Updated by Joseph Magen over 3 years ago

  • Subject changed from add :path_ids as argument to with_taxonomy_scope rather than with_taxonomy_scope_override in hosts_and_hostgroups_helper.rb to add :path_ids as argument to with_taxonomy_scope rather than with_taxonomy_scope_override for SmartProxy select dropdowns

#3 Updated by Joseph Magen over 3 years ago

  • Target version set to Sprint 23

#4 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 23 to Sprint 24

#5 Updated by Dominic Cleal over 3 years ago

  • Category set to Organizations and Locations
  • Release set to 1.5.1

#6 Updated by Joseph Magen over 3 years ago

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

#7 Updated by Bryan Kearney over 3 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1107697

Also available in: Atom PDF