Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding arbitraty search support

  • Loading branch information...
commit 61e049e5deb33828814bce6788a77efc6f7e4c28 1 parent d283f5b
@maksar maksar authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/netzke/basepack/data_accessor.rb
View
2  lib/netzke/basepack/data_accessor.rb
@@ -139,6 +139,8 @@ def get_relation(params = {})
relation = relation.extend_with(self.send(params[:scope], params[:scope_params])) if params[:scope]
+ relation = relation.search(params[:search]) if params[:search]
+
relation = relation.extend_with(config[:scope]) if config[:scope]
relation
Please sign in to comment.
Something went wrong with that request. Please try again.