×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Search Results by keyword display Category name

Search Results by keyword display Category name 8 years 8 months ago #33584

  • Georgopoulos Nikos
  • Georgopoulos Nikos's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi, after last hotspot component update the search results by keyword display Category name instead of Hotspot name in the list. I debugged it and found out that the problem maybe was based on the field name change of hotspots table (description to title). Most probably there is a field name ambiguity because category table has also a title field and when category is joined to markers then we got the problem. I commented out line (375) $q->select('c.title'); in components\com_hotspots\models\json.php and problem was solved. But i do not know if there collateral consequences.

1) Is this ok as a solution or is there any better alternative for a solution?

Regards,
Georgopoulos Nikos

Search Results by keyword display Category name 8 years 8 months ago #33585

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey there,
There is already a dev. release that has fixed that. You can download it from our dev. section.

Regards,
Daniel
The following user(s) said Thank You: Georgopoulos Nikos

Search Results by keyword display Category name 8 years 8 months ago #33700

  • Tommy Reinås
  • Tommy Reinås's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi

I have the same problem - and cant see that this dev version solves the problem -- the categori name still shows instead of company names - when costumers use the search field

Search Results by keyword display Category name 8 years 8 months ago #33705

  • Chong Sok Chin
  • Chong Sok Chin's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Yes, am having this problem again...

Search Results by keyword display Category name 8 years 8 months ago #33707

  • Georgopoulos Nikos
  • Georgopoulos Nikos's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Ηι, I did not try or install the proposed developer version because my temporary fix described in my first post solved my issue.
"Most probably there is a field name ambiguity because category table has also a title field and when category is joined to markers then we got the problem. I commented out line (375) $q->select('c.title'); in components\com_hotspots\models\json.php and problem was solved."
So you could try that until we get a final official release dealing with the issue. Just an idea.
  • Page:
  • 1
Time to create page: 0.108 seconds