Language filter not working properly 1 month 1 day ago #164848

There's an issue with language filter on Categories and Items page (maybe somewhere else as well), which hasn't been fixed for quite a while already (had it in 2.6 or something). Due to this issue categories or items list is always empty. Problem's with this line:

$language = $application->getUserStateFromRequest($option.$view.'language', 'language', '', 'string');

It always returns "en" for me, however, language filter isn't even used. No matter what I select, it's always "en" and list is empty due to this. I have to edit models for categories and items after every upgrade.
  • Krikor
  • Krikor's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 14760

Language filter not working properly 4 weeks 2 days ago #164883

Hello,

Are you referring to the admin area?
IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Language filter not working properly 4 weeks 1 day ago #164901

Yep, exactly.
  • Krikor
  • Krikor's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 14760

Language filter not working properly 4 weeks 23 hours ago #164921

Can you try installing the latest DEV version?
github.com/getk2/k2
IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Language filter not working properly 4 weeks 23 hours ago #164923

Yep, all good now. I looked in the code and this is exactly what was needed. Thank you.
  • Krikor
  • Krikor's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 14760

Language filter not working properly 4 weeks 1 hour ago #164940

You 're welcome :)
IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
Moderators: william white

Who Is Online

Total users online: 9 Members and 4295 Guests Online
Alex Walker Alexandre Max Rob L Robert j Wall choowong djsmooth5 pet william white
Legend ::   Site Administrator Global Moderator Moderator Banned User Guest
  • Total Messages: 138539 | Total Subjects: 36480
  • Total Sections: 6 | Total Categories: 32
  • Today Open: 0 | Yesterday Open: 8
  • Today Total Answer: 7 | Yesterday Total Answer: 26
Powered by Kunena Forum