We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Flexibility with using render_newsgrid() method Example: need to display some news in alphabetical order
No changes in the grid menu itself, it's correct.
Problem is that from documentation there is parameter order @param integer $parm['order'] n.news_datestamp DESC
@param integer $parm['order'] n.news_datestamp DESC
but it is hardcoded later: $parms['order'] = 'n.news_datestamp DESC';
It could be solved similar way as normal news: $db_order = vartrue($params['db_order'], 'n.news_datestamp DESC');
$db_order = vartrue($params['db_order'], 'n.news_datestamp DESC');
Thanks
The text was updated successfully, but these errors were encountered:
20b43d4
@Jimmi08 This commit should fix it, but please let me know if it didn't for some reason.
Sorry, something went wrong.
No branches or pull requests
Motivation
Flexibility with using render_newsgrid() method
Example: need to display some news in alphabetical order
Proposed Solution
No changes in the grid menu itself, it's correct.
Problem is that from documentation there is parameter order
@param integer $parm['order'] n.news_datestamp DESC
but it is hardcoded later:
$parms['order'] = 'n.news_datestamp DESC';
It could be solved similar way as normal news:
$db_order = vartrue($params['db_order'], 'n.news_datestamp DESC');
Thanks
The text was updated successfully, but these errors were encountered: