Support

  1. seiyass
  2. General
  3. Monday, July 13 2015, 03:46 PM
Hi I am not sure if this is a bug or I am missing something.

I have a custom text field with this Options:
1 | PHP
2 | Ajax
3 | Java
4 | VisualBasic
5 | C
6 | C++
7 | Pascal
8 | Cobol
9 | MATLAB
10 | HTML/CSS
11 | Javascript
12 | Aplicaciones Móviles
13 | Programación - Otros


On the menu-profile-list I have:

CUSTOM SQL WHERE: group_id IN (12) AND elige_programacion LIKE "%1%"

I want this to display only users with "PHP" selected, but it is displaying also 1, 10, 11, 12, and 13 (all that have a "1";)
Accepted Answer
admin Accepted Answer
Admin
Try with this:
group_id IN (12) AND elige_programacion LIKE '%"1"%'


for multi-values fields like Multiple select or checkboxes we use Json format to store data, so you will have something like this
["value1","value2","value3"]
  1. more than a month ago
  2. General
  3. # Permalink
seiyass Accepted Answer
Pro
Now it works fine!
Thanks a lot!
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.