Collections Extra, sort by TV

Is it possible to have the grid view sort by TV. I’ve added the TV name in to the sort field but this causes the grid view to not load any resources at all. Seen this blog article saying to use the prefix ‘TV_’ but same issue.

This is in MODX 3 so wondering if it’s fine in 2.x.

Thanks

It should work if you use tv_ (all lower case) as the prefix and if you add a column with the same name (tv_xyz) to the grid.

Thanks @halftrainedharry I hadn’t added the column, didn’t even think about that. All working now, thanks

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.