<commit_before>= render :layout => "search_panel" do |f|
  .row
    .col-lg-3.col-md-6
      %fieldset
        %legend.panel-legend Asset
        = f.input :organization_id, :collection => Organization.where(id: @organization_list), :label_method => 'coded_name' unless @organization_list.count < 2
        = f.input :keyword, :placeholder => "Enter A Search Term"
        = f.input :asset_type_id, :collection => AssetType.all, :label => "Type"
        = f.input :asset_subtype_id, :collection => AssetSubtype.all, :label => "Subtype"
        = f.input :location_id, :collection => @organization.assets.where('asset_type_id = ?', 5)
        = f.input :disposition_date, :collection => get_fiscal_years
        = f.input :in_backlog, :as => :boolean, :label => "In Backlog"
    .col-lg-3.col-md-6
      %fieldset
        %legend.panel-legend Purchase
        = f.input :manufacturer_id, :collection => Manufacturer.all, :multiple => true, :label_method => :full_name
        = f.input :manufacture_date, :wrapper => :vertical_prepend, :label => "Manufacture Year" do
          .input-group-btn<commit_msg>[Fixes#78453588] Shows locations within the current user's organization filter in the asset searcher<commit_after>= render :layout => "search_panel" do |f|
  .row
    .col-lg-3.col-md-6
      %fieldset
        %legend.panel-legend Asset
        = f.input :organization_id, :collection => Organization.where(id: @organization_list), :label_method => 'coded_name' unless @organization_list.count < 2
        = f.input :keyword, :placeholder => "Enter A Search Term"
        = f.input :asset_type_id, :collection => AssetType.all, :label => "Type"
        = f.input :asset_subtype_id, :collection => AssetSubtype.all, :label => "Subtype"
        = f.input :location_id, :collection => Asset.where(asset_type_id: [4,5,6]).where(organization_id: @searcher.user.organization_ids)
        = f.input :disposition_date, :collection => get_fiscal_years
        = f.input :in_backlog, :as => :boolean, :label => "In Backlog"
    .col-lg-3.col-md-6
      %fieldset
        %legend.panel-legend Purchase
        = f.input :manufacturer_id, :collection => Manufacturer.all, :multiple => true, :label_method => :full_name
        = f.input :manufacture_date, :wrapper => :vertical_prepend, :label => "Manufacture Year" do
          .input-group-btn
{'fraction_non_alphanumeric': 0.1424294268605646, 'fraction_numerical': 0.009409751924721984, 'mean_word_length': 3.3638059701492535, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7241363', 'n_tokens_mistral': 786, 'n_tokens_neox': 744, 'n_words': 166}