How do i pass some extra parameters to search method, so it would search only within this scope?
Lets say i have current_user. current_user has some relation, like current_user.custom_relation_objects
How do i search only within these custom_relation_objects?
Also, how do i sort all these objects by some attribute?
How do i pass some extra parameters to search method, so it would search only within this scope? Lets say i have current_user. current_user has some relation, like current_user.custom_relation_objects
How do i search only within these custom_relation_objects?
Also, how do i sort all these objects by some attribute?