By William Matson on Friday, 23 May 2014
Posted in General Issues
Replies 6
Likes 0
Views 655
Votes 0
ES 1.2.14 on J3.3

I have three published profiles:
Register User Type 1
Register User Type 2
Administrators

I have a large number of profile fields (approximately 50). Most of these fields are set to Searchable >> No.

First question:
In the Advanced Search -Select Field- dropdown list, these non-searchable fields appear. Can the appearance of these fields be prevented?

Second question:
Can the order in which the fields appear in the -Select Field- dropdown list be modified?

Third Question:
Certain fields which I have deleted from the profile still appear in the -Select Field- dropdown list. How do I delete these?

Fourth Question:
A few of the fields that appear in the -Select Field- dropdown list are duplicates. What may be causing the duplication and how do I remove the duplicates?
Hello William,

I am sorry for the delay of this reply.

As a test, I unpublished 2 of the 3 profiles. I then verified that most of the fields are set to Searchable - No.
They still appear on the dropdown list. Perhaps the database is not being updated to reflect the changes.


I've added a fix on your site. Can you please give it a try again?

This is a bug. I reported another Advanced Search bug on a different discussion thread.

Thanks for reporting the multi criteria search issue. I've fixed the issue and applied the fix on your site. Please try again

Regarding my second question, how is the 'ordering' modified? Is there some setting that controls this?


When in profile edit page ( backend ), what you need to do is click on the field and drag the field up or down to perform the ordering

Hope this help and have a nice day!
Sam
·
Friday, 23 May 2014 20:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello William,

I am sorry for the delay of this reply.

In the Advanced Search -Select Field- dropdown list, these non-searchable fields appear. Can the appearance of these fields be prevented?


Regarding the above, I've checked the code and the fields retrieval only retrieve the fields that the 'searchable' option enabled. Do you have the same field 'with same field title' in other profile which the searchable is enabled?


Second question:
Can the order in which the fields appear in the -Select Field- dropdown list be modified?


The ordering is actually based on the field ordering. If you wish to change the ordering, then take a look at this file 'JOOMLA/administrator/components/com_easysocial/includes/advancedsearch/helpers/user.php' at line 273:

$query .= ' order by a.`ordering`';



Third Question:
Certain fields which I have deleted from the profile still appear in the -Select Field- dropdown list. How do I delete these?


If you have the same field ( same field title ) from other profile type, then the field will still appear, but this field is not the one that you've deleted. Its the field from other profile.


Fourth Question:
A few of the fields that appear in the -Select Field- dropdown list are duplicates. What may be causing the duplication and how do I remove the duplicates?


If you have same field title in different profile but with different field code, then you might seeing 'duplicate' fields appear in the dropdown. They are actually different field per say due to the different field code

Hope this help and have a nice day
Sam
·
Friday, 23 May 2014 15:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sam --

As a test, I unpublished 2 of the 3 profiles. I then verified that most of the fields are set to Searchable - No.
They still appear on the dropdown list. Perhaps the database is not being updated to reflect the changes.

This is a bug. I reported another Advanced Search bug on a different discussion thread.

You have the login credentials for my website that I furnished to you in previous reports. I would appreciate if you can login and see what is happening. The Braintrustee profile is the active one for this testing.

Thanks
·
Friday, 23 May 2014 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Regarding my second question, how is the 'ordering' modified? Is there some setting that controls this? Do I need to modify a database table? Please explain. Thanks.
·
Friday, 23 May 2014 16:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. Works fine. Will this patch be included in the next release of ES (ver 1.2.15)?
·
Saturday, 24 May 2014 01:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello William,

Yep, this fix will definitely be included in 1.2.15
·
Monday, 26 May 2014 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post