forked from myopencart/ocStore
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Если у статьи порядок сортировки -1, то она не должна отображаться
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69dd58a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Эта проверка есть в футере, в верхнем меню?
69dd58a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
футер не трогал, т.к там идет проверка по умолчанию на установленный чекбокс "Показывать в футере." В итоге получаем удобства, хочешь скрыть в модуле Информация, то ставим -1, хотим скрыть в футере, то снимаем чекбокс.
А верхнем меню статьи же не выводятся, поэтому и проверок никаких не надо.