Skip Navigation

[Resolved] Repeat values on Search dropdown

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 1 year, 12 months ago.

Assisted by: Waqar.

Author
Posts
#2351393
Repeat values on search dropdown.jpg
agent2 location.jpg
agent1 location.jpg

Hi,
I have created a Real Estate custom post and have a custom field Location where each real estate agents are from various locations.
Now if 2 agents are from same location then on the archive page location search field , same values are getting repeated on the downdown

Site URL: hidden link

Here both the agents are assigned to the same location and on the search downdown, the "South Kolkata" location is getting repeated

check attached screenshot for reference

#2351443

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

Those location "South Kolkata" seems to be repeating because it is entered in two different ways.

In one instance it is saved as "South Kolkata" but in another one, it is added as "South Kolkata, ", ( note that the text is followed by a ',' and empty space ).

Please make sure that it is typed exactly the same in both instances and it won't be treated as two separate entries.

regards,
Waqar

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.