Grid search:column does not work in low_variables:pair tag
I tried this tag:
{exp:low_variables:pair var="lv_grid" search:column_one="welcome"}
<p>{lv_grid:column_one} - {lv_grid:column_two}</p>
<br>
{/exp:low_variables:pair}
Where one of the rows has "Welcome" in column_one.
But this tag outputs all rows regardless of search parameter.
Replies
Low 3 Jan 2014 13:33
This actually is a bug in Grid itself. To fix, open up /system/expressionengine/models/grid_model.php and look up line #363 (EE 2.7.3), which looks like this:
...change that to...
...which should fix it.
I also encourage you to report this with EllisLab, as they are responsible for adding the fix to Grid itself.
Mohammed al-Shehri 3 Jan 2014 14:37
That was the fix.
Thanks.
Reporting it to EllisLab.