-
For example, let's say I have 2 resources - Credit Cards & Transactions In transactions list/index page, I have added a filter field with all the credit cards as options and the first credit card as the default value. Hence, only the transactions belonging to the selected credit card will be displayed in the list view. Here is the query: SELECT "transactions".* FROM "transactions" WHERE "transactions"."credit_card_id" = ? [["credit_card_id", 1]] However, this is causing problem in the credit card detail/show page SELECT "transactions".* FROM "transactions" WHERE "transactions"."credit_card_id" = ? AND "transactions"."credit_card_id" = ?[["credit_card_id", 1], ["credit_card_id", 2]] Is there a way to skip using a particular filter for associations list in the detail page? Or at least a way to reset the default value based on the page |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @adrianthedev |
Beta Was this translation helpful? Give feedback.
Hey @adrianthedev
Kindly help with this 🙏