1. hooman52
  2. Support
  3. Tuesday, July 12 2016, 03:09 PM
Hi,
I added a field for region, it is select type. there is 11 options in it's list. for each option I added another select type field "town".
then I set conditions 1 to 11 to show town field if custom value is equal to region's value.
so I have a select list of regions, and when I select each region another select appears and I can select town.
it works fine in edit profile page. but not work in search module.
in search module one of towns always be shown.
please have a look to this site: medarena.tk
you can see search module in top position. there is a field named " Bölgə". please select each one in this field. you will see another select field appeared. for example select " Abşeron ", then you will see " Rayon-absheron".
ONLY rayon-baki has problem and always shown in front end.
As I told before this issue is only in search module. and in edit profile page everything is OK and works fine.
you can login in front end by user: afiq password : afiq and check edit profile for this user.
let me ask you help me how can I fix this issue.
thanks
admin Accepted Answer
Admin
Hi,
try this fix,
in file /modules/mod_jsnsearch/helper.php at line 35 replace this:
$condition_suffix=array('','1','2','3','4','5','6','7','8','9');

with this:
$condition_suffix=array('','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19');
  1. more than a month ago
  2. Support
  3. # 1
hooman52 Accepted Answer
Pro
thank you, works fine. is this fix will be applied automatically in next versions?
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Yes, we will apply this fix in next release :D , thanks for report it.

In the past Easy Profile had 10 conditions, we have extended to 20 but forgot this part in the search module.
  1. more than a month ago
  2. Support
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.