- Posts: 3
COMMUNITY FORUM
Language filter not working properly
- The Krotek
- Topic Author
- Offline
- New Member
Less
More
7 years 1 month 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.
$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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 1 month ago #164883
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Language filter not working properly
Hello,
Are you referring to the admin area?
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
7 years 1 month 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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 1 month ago #164921
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Language filter not working properly
Can you try installing the latest DEV version?
github.com/getk2/k2
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
7 years 1 month 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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 1 month ago #164940
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.