Answer the question
In order to leave comments, you need to log in
Does getImageList (MIGX) have a syntax for fetching unique field values like MySql's DISTINCT?
Good afternoon!
Created a table in TV MIGX where the colors are listed. Colors can be repeated, but you need to display a list of colors without repetition.
I output like this:
<ul>
</ul>
Answer the question
In order to leave comments, you need to log in
You can add the getImageList snippet
Example:
A piece of ~166 lines
// where filter
if (is_array($where) && count($where) > 0) {
$items = $migx->filterItems($where, $items);
if($splice) array_splice($items, $splice); //добавляем эту строку
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question