I just tried on one of out systems (for a different category):

(zotonic001)2> 
z_search:search({query,[{cat,event},{date_start_after,{{2016,11,26},{22,0,0}}}]},z_acl:sudo(z:c(secretsite))).
{search_result,[1251176,1251132,1251131,1251130,1251100,
                1250999,1250994,1250993,1250813,1250812,1250811,1250809,
                1250808,1250807,1250806,1250800,1250799,1250798,1250797,
                1250796],
               1,undefined,undefined,undefined,undefined,undefined,
               undefined}

So, your query looks correct.

What could be the case is that the access control system removes results.
Maybe check with the “z_acl:sudo(Context)” instead of Context.

- Marc
 


> On 28 Nov 2016, at 06:36, heiheshang <strangerfuture2...@gmail.com> wrote:
> 
> #search_result{result=Items}=z_search:search({query,[{cat,schedule},{date_start_after,{{2016,11,26},{22,0,0}}}},Context)
> 
> I spent a few days in the experiments with the filter, but I did not manage 
> to get a result. I connect to the console postgresql and I see my rsc, but on 
> the date of the request does not work
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> <mailto:zotonic-developers+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to