Added ability to search for URL array parameters
- Also added in different string splitters for the text fields - Removed or renamed parameters covered by the main search function
This commit is contained in:
@@ -478,7 +478,7 @@ class Artist < ApplicationRecord
|
||||
def search(params)
|
||||
q = super
|
||||
|
||||
q = q.search_attributes(params, :is_active, :is_banned, :creator, :name, :group_name)
|
||||
q = q.search_attributes(params, :is_active, :is_banned, :creator, :name, :group_name, :other_names)
|
||||
|
||||
if params[:any_other_name_like]
|
||||
q = q.any_other_name_like(params[:any_other_name_like])
|
||||
|
||||
Reference in New Issue
Block a user