app/controllers/concepts/hierarchical_controller.rb in iqvoc-4.0.8 vs app/controllers/concepts/hierarchical_controller.rb in iqvoc-4.0.9

- old
+ new

@@ -23,9 +23,12 @@ Iqvoc::Concept.base_class.editor_selectable else Iqvoc::Concept.base_class.published end + #collect only the not expired concepts + scope = scope.not_expired + # if params[:broader] is given, the action is handling the reversed tree root_id = params[:root] if root_id && root_id =~ /\d+/ # NB: order matters; see the following `where` if params[:broader]