Extending customers to Redmine's built in search

This commit is contained in:
2026-02-21 11:20:20 -05:00
parent 6434eea906
commit a54de28db5
4 changed files with 103 additions and 25 deletions

View File

@@ -30,8 +30,6 @@ class CustomersController < ApplicationController
before_action :view_customer, except: [:new, :view]
skip_before_action :verify_authenticity_token, :check_if_login_required, only: [:view]
default_search_scope :names
autocomplete :customer, :name, full: true, extra_data: [:id]
def allowed_params