Various fixes and improvements (#12878)
* Fix unused role routes being generated * Remove unused JavaScript code * Refactor filters code to be DRYer * Fix `.count == 0` comparisons to `.empty?` in views * Fix filters in viewsmain
parent
06f6995860
commit
6feafb8802
@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RelationshipFilter
|
||||
KEYS = %i(
|
||||
relationship
|
||||
status
|
||||
by_domain
|
||||
activity
|
||||
order
|
||||
).freeze
|
||||
end
|
Loading…
Reference in new issue