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:
BrokenEagle
2020-01-19 23:55:35 +00:00
parent 4a7322b197
commit 34368272e8
5 changed files with 18 additions and 16 deletions

View File

@@ -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])