Hi all, i've been trying to have a search box to find items by their item id. While submitting words would return some items (title) submitting numbers would return nothing.
{ListIt2Portfolio action="search"}
There used to be a filter mode that seems to be not functioning ether.
Listit2 v=1.4.1
cmsms = 1.11.13
[Solved] listit2 doesn't search by item_id
[Solved] listit2 doesn't search by item_id
Last edited by magallo on Tue Jun 30, 2015 10:42 pm, edited 2 times in total.
Re: listit2 doesn't search by item_id
Typically the item_id is an internal number and is not known by the web user so it doesn't make sense to search for it.
You could do what you want with a simple form and smarty.
{if empty($smarty.request.item_id)}
<form>
<input name=item_id>
</form>
{else}
{ListIt2Portfolio action=detail item=$smarty.request.item_id}
{/if}
You could do what you want with a simple form and smarty.
{if empty($smarty.request.item_id)}
<form>
<input name=item_id>
</form>
{else}
{ListIt2Portfolio action=detail item=$smarty.request.item_id}
{/if}
Re: listit2 doesn't search by item_id
Thanks, that did it.



