Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K2 Categorie listing Item not translated (with Falang) #559

Open
sbouey opened this issue May 26, 2023 · 0 comments
Open

K2 Categorie listing Item not translated (with Falang) #559

sbouey opened this issue May 26, 2023 · 0 comments

Comments

@sbouey
Copy link

sbouey commented May 26, 2023

Hi,

When Falang is used with k2 and Menu is set to
K2 » Item listings » Categories

The categories are displayed correctly but not translated

the problem is in the file
components/com_k2/models/itemlist.php line 51

Falang has problem with the SELECT SQL_CALC_FOUND_ROWS , use to make the pagination
a quick and dirty workaround was to no use this mysql function
//$query = "/* Frontend / K2 / Items / SELECT SQL_CALC_FOUND_ROWS i.,";
$query = "SELECT i.*,";

There are already specific Falang code.
I will post here a good solution when it's done , if it's can be add to the next release of k2 it will be great.

Stéphane
Falang Team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant