I have two signs in the database, a List of Categories and Records. The table Entries store the id of the selected Category when you publish.
Faced with this challenge, I want to display on the list page, where such information:
Category(if it has at least one record), and under it the last 5 records.
And so to each other.
Tell me how this in Yii2 to organize.
Thanks in advance.