How to ignore query string in viewer

2 posts by 1 authors in: Forums > CMS Builder
Last Post: May 28, 2009   (RSS)

Re: [pothompson] How to ignore query string in viewer

By pothompson - May 28, 2009

Sorry! Just answering my own question. I looked around and found that it's possible to add the 'allowSearch' parameter to the viewer code which is set to true by default.

So the following doesn't use any information in the query string:

[font "Verdana"]list($productsRecords, $productsMetaData) = getRecords(array(
'tableName' => 'products',
'where' => $where,
'allowSearch' => false,
[font "Verdana"]
));


[font "Verdana"]