We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I have the following named scope:
Shifts::Shift.cases_service_type_case_customer_referrer_last_name_like("Williams").count => 15
I also have this scope:
Shifts::Shift.cases_service_type_case_customer_name_like("Test").count => 2
customer is a table. customer_referrer is a table.
When I try this, it breaks:
Shifts::Shift.search( :cases_service_type_case_customer_referrer_last_name_like => "Williams", :order => :desce nd_by_cases_service_type_case_customer_referrer_last_name).count NoMethodError: undefined method descend_by_referrer_last_name' for #<Class:0x7f6c4651d560> from /home/jesse/bsm/ccn/vendor/plugins/searchlogic/lib/searchlogic/named_scopes/conditions.rb:88:inmethod_missing' from /home/jesse/bsm/ccn/vendor/plugins/searchlogic/lib/searchlogic/named_scopes/association_conditions.rb :19:in `method_missing'
descend_by_referrer_last_name' for #<Class:0x7f6c4651d560> from /home/jesse/bsm/ccn/vendor/plugins/searchlogic/lib/searchlogic/named_scopes/conditions.rb:88:in
Did you see what it did there? It looks like it sees 'customer_referrer' and interprets it as 'customer.referrer'.
Is there a work around for this sort of thing?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the following named scope:
I also have this scope:
customer is a table. customer_referrer is a table.
When I try this, it breaks:
Did you see what it did there? It looks like it sees 'customer_referrer' and interprets it as 'customer.referrer'.
Is there a work around for this sort of thing?
The text was updated successfully, but these errors were encountered: