Skip to content

Instantly share code, notes, and snippets.

@SPY
Created July 31, 2012 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SPY/3218032 to your computer and use it in GitHub Desktop.
Save SPY/3218032 to your computer and use it in GitHub Desktop.
observe_search_query({search_query, {product, PropsSorted}, OffsetLimit}, Context) ->
%% io:format("~p~n", [PropsSorted]),
#search_sql{select="*", from="product", tables=[{product, "product"}]};
observe_search_query({search_query, Req, OffsetLimit}, Context) ->
z_notifier:first({search_query, Req, OffsetLimit}, Context).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment