Difference between revisions of "Template:SearchEventsAPI"

From Culture.si
Line 15: Line 15:
 
   #if:{{{query}}}| {{#arr:loop|k=v|{{#arr:split|{{{query}}}|\s+}}|each= AND Event.Description ILIKE {{#cast:text|%{{{v}}}%|db}} }}
 
   #if:{{{query}}}| {{#arr:loop|k=v|{{#arr:split|{{{query}}}|\s+}}|each= AND Event.Description ILIKE {{#cast:text|%{{{v}}}%|db}} }}
 
}}
 
}}
}}}{{#data:json|=Event.*|#where={{#var:get|where}}}}
+
}}}{{#data:json|=Event.*|#where={{#var:get|where}}}

Revision as of 17:00, 19 September 2018

}{{#data:json|=Event.*|#where=}