Exclude an item from jrCore_list using search param
Using Jamroom
I'm trying to list things but exclude a specific id:
{jrCore_list module="jrAudio" template="jrAudio_item_list.tpl" limit="3" search1="_profile_id = `$item.profile_id`" search2="_item_id != `$_post['_1']`"}
But that gives the error:
Quote: CRI: Query Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '29'' LIMIT 3' at line 3
search2="_item_id != `$_post['_1'] `" is the problem.
I've tried many ways but always get an error if I try excluding a specific id. Should this be working (the dev site is a couple of releases behind current), or is there another way?
Thanks
updated by @ultrajam: 03/31/14 03:07:22AM