Hi, I've got CC V5 displaying data from 3 related tables with where statement, List is displayed according to param getting from link, from another CC V5 list, which got links with dynamic params. Params are catched via where statement:
all working fine, till you try to change number of record displayed: ex from 30 to 10. In debug got empty Where statement which cose the problem
But have no idea , how to solve this
Also got same problem when you submit search query.
Also not sure how to use in List -> Settings -> Stored Fields box, mightbe that would be the solution.
<?php
// where $var is an string
$var = JRequest::getVar('nr','', 'get');
$var = htmlspecialchars($var);
$dbo = \GCore\Models\nfs2::getInstance()->dbo;
$var = $dbo->quote($var);
return array (":model.field = {$var}");
?>
all working fine, till you try to change number of record displayed: ex from 30 to 10. In debug got empty Where statement which cose the problem
WHERE model.field = ''
But have no idea , how to solve this
Also got same problem when you submit search query.
Also not sure how to use in List -> Settings -> Stored Fields box, mightbe that would be the solution.