You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Для страниц, где может понадобиться пагинатор, мы дожны в контроллере определять, нужно ли его отображать.
Для этого надо сравнить общее кол-во сущностей с максимальным допустимым на одной странице и передать булево значение во вьюху. Соотв, в ней отображать пагинатор только если нужно.
The text was updated successfully, but these errors were encountered:
Для страниц, где может понадобиться пагинатор, мы дожны в контроллере определять, нужно ли его отображать.
Для этого надо сравнить общее кол-во сущностей с максимальным допустимым на одной странице и передать булево значение во вьюху. Соотв, в ней отображать пагинатор только если нужно.
The text was updated successfully, but these errors were encountered: