Created
July 31, 2012 15:58
-
-
Save SPY/3218032 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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