Skip to content

Commit

Permalink
don't break if subgroup is used in field search, ignore them
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Oct 19, 2024
1 parent 9685233 commit 817060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_scaffold/helpers/search_column_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def override_search(form_ui)
def visibles_and_hiddens(search_config)
visibles = []
hiddens = []
search_config.columns.each_column do |column|
search_config.columns.each_column(flatten: true) do |column|
next unless column.search_sql
if search_config.optional_columns.include?(column.name) && !searched_by?(column)
hiddens << column
Expand Down

0 comments on commit 817060d

Please sign in to comment.