anchor.diff:        query_input = $("##{base_id}v_0_value")
         multi_id = query_input.attr('id') + '_multi'
         multi_input = @element.find("##{multi_id}")
  -      query_select2_id = "select##{base_id}v_0_value"
  +      query_select2_id = "##{base_id}v_0_value"
         query_select2 = @element.find(query_select2_id)
         predicate_select2_id = "##{base_id}p"
         predicate_select2 = @element.find(predicate_select2_id)
  
positive.code: 
              # Handle association columns with AJAX autocomplete
              if selected_attribute.data('ajax-url')
                if query_select2.length
                  query_input.hide()
                else
                  @setup_select2_association(query_input, selected_attribute)
  
              # Handle fixed options - set up Select2 for single values if not already present
              if selected_attribute.data('select-options')
                if query_select2.length
                  query_input.hide()
                else
                  @setup_select2_options(query_input, selected_attribute)
  
negative.code:         # Handle association columns with AJAX autocomplete
          if selected_attribute.data('ajax-url')
            # Set label to single association label, if anything was selected
            if $(query_input).hasClass("select2-hidden-accessible") && query_input.select2('data')
              query_input_data = query_input.select2('data')
              Ransack.value_field_labels[selected_attribute.val()] ||= {}
              Ransack.value_field_labels[selected_attribute.val()][query_input_data.id] = query_input_data.text
  