jrSeamless remove nulled items

Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
when i do a jrCore_List for a blog and provide a search paramater like this
 search2="blog_title_url like %"
I can remove all of the urls with no names or no content.

How do I do this in a seamless list with the three modules like jrForum,jrBlog,jrGroupDiscuss

could I do something like this?
 search2="blog_title_url like % || forum_title_url like % || discuss_title_url like %"

How would I achieve this with the seamless module?

updated by @developer-networks: 02/16/17 10:48:52AM
michael
@michael
8 years ago
7,715 posts
Try that. also try
search2="*_title_url like %"
and
search2="%_title_url like %"

If none of those work, I'll look into it.
Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
Hello,

Thanks for the responce.

Yes I tried the first method you suggested already prior to posting. I did not try the smarty or operator I suggested above as that was something I thought of just prior to posting and was not sure if the jrCore_list function search parameter could be used in such a way.

When using "_title_url" it returns nothing in the array. I haven't tried
Search2="%_title_url like %" 
yet
But will be back at my desk shortly and will update.

Thanks
updated by @developer-networks: 11/16/16 02:19:25AM
Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
Search2="%_title_url like %" 

This was the best solution. Many thanks!

Also for future reference and education am I able to use the or || operator in a search parameter like I suggested earlier.
 search2="blog_title_url like % || forum_title_url like % || discuss_title_url like %"

Thanks
updated by @developer-networks: 11/16/16 10:17:23AM
michael
@michael
8 years ago
7,715 posts
Try it and see. || or operator is supported.

Tags