Hello,
I have created e field for City and the type of this field is Drop Down Multi-Select. I want to let users to select up to 3 cites for an ad. After ad is successfully created, it stores these three cities on database as text type with comma separated and in the same cell. The problem is that I can not search by city ads with more then one city. You will find examples on attachment.
Do you have any solution for this?
I think to make any edition on the query that loads the results of search module. Maybe to replace any '=' with 'LIKE' ?
Please help me!
Thank you!
I have created e field for City and the type of this field is Drop Down Multi-Select. I want to let users to select up to 3 cites for an ad. After ad is successfully created, it stores these three cities on database as text type with comma separated and in the same cell. The problem is that I can not search by city ads with more then one city. You will find examples on attachment.
Do you have any solution for this?
I think to make any edition on the query that loads the results of search module. Maybe to replace any '=' with 'LIKE' ?
Please help me!
Thank you!
Custom Fields
- Joomla Version
- 3.8.3
- PHP Version
- 5.6
- Product
- AdsManager
- Product Version
- 3.1.11