Keyword

Language filter not working properly

  • The Krotek
  • The Krotek's Avatar Topic Author
  • Offline
  • New Member
More
6 years 6 months ago #164848 by The Krotek
Language filter not working properly was created by The Krotek
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.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164883 by Krikor Boghossian
Replied by Krikor Boghossian on topic Language filter not working properly
Hello,

Are you referring to the admin area?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • The Krotek
  • The Krotek's Avatar Topic Author
  • Offline
  • New Member
More
6 years 6 months ago #164901 by The Krotek
Replied by The Krotek on topic Language filter not working properly
Yep, exactly.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164921 by Krikor Boghossian
Replied by Krikor Boghossian on topic Language filter not working properly
Can you try installing the latest DEV version?
github.com/getk2/k2

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • The Krotek
  • The Krotek's Avatar Topic Author
  • Offline
  • New Member
More
6 years 6 months ago #164923 by The Krotek
Replied by The Krotek on topic Language filter not working properly
Yep, all good now. I looked in the code and this is exactly what was needed. Thank you.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 5 months ago #164940 by Krikor Boghossian
Replied by Krikor Boghossian on topic Language filter not working properly
You 're welcome :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum