In my active admin code, I have the following:
scope :all
scope :in_progress
scope :completed, default: true
scope :processed
filter :order_number, label: "by order number", collection: Order.all.map(&:order_number)
filter :order_date, label: "orders placed between", collection: Order.all.map(&:order_date)
Filters display results in separate tabs. So, now that the user is filtering the results, I want to see all the results in all tabs (that is, the user is redirected to the "All" tab). I cannot find a way to achieve this. Thanks in advance:)
source
share