solved jrCore_list search parameter

Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hi,

i did a little mistake, but i can't see it.
i want to create a Member list with search filter (by letter).

but i dont get any results.

A link looks like this:

<a href="http://mysite.de/artists/search=a">a</a>

and the jrCore_list call is this:

{jrCore_list 	module="jrProfile" 
                search="profile_name = `$search`"
                order_by="profile_name asc" 
                template="artists_row.tpl" 
                pagebreak="30" 
                }

what did i wrong?
updated by @bandwerkstatt: 03/24/15 12:25:25AM
brian
@brian
9 years ago
10,148 posts
I'm not seeing any issue in the screenshot you have attached - can you clarify the issue?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
I search to profile name beginning with "a". i know there are 4 Profiles beginning with "a". But with this Call i don't get results.

http://selfmadeclub.de/artists
updated by @bandwerkstatt: 02/01/15 11:36:29AM
paul
@paul
9 years ago
4,326 posts
Try -

search="profile_name LIKE `$_post.search`%"


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 02/01/15 11:44:08AM
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
whoa... thank you Paul, it works!!!
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
what about numbers? search=# ?

Tags