diff --git a/administrator/components/com_categories/src/View/Categories/HtmlView.php b/administrator/components/com_categories/src/View/Categories/HtmlView.php index 696b3ec6c5d52..849cba6b70717 100644 --- a/administrator/components/com_categories/src/View/Categories/HtmlView.php +++ b/administrator/components/com_categories/src/View/Categories/HtmlView.php @@ -84,6 +84,14 @@ class HtmlView extends BaseHtmlView */ private $isEmptyState = false; + /** + * The ordering list for the categories + * + * @var array + * @since __DEPLOY_VERSION__ + */ + protected $ordering = []; + /** * Display the view * diff --git a/administrator/components/com_content/src/View/Articles/HtmlView.php b/administrator/components/com_content/src/View/Articles/HtmlView.php index 597138b4aec3f..f2894252278ab 100644 --- a/administrator/components/com_content/src/View/Articles/HtmlView.php +++ b/administrator/components/com_content/src/View/Articles/HtmlView.php @@ -84,6 +84,22 @@ class HtmlView extends BaseHtmlView */ private $isEmptyState = false; + /** + * Is the vote plugin enabled on the site + * + * @var boolean + * @since __DEPLOY_VERSION__ + */ + protected $vote = false; + + /** + * Are hits being recorded on the site? + * + * @var boolean + * @since __DEPLOY_VERSION__ + */ + protected $hits = false; + /** * Display the view * @@ -99,7 +115,7 @@ public function display($tpl = null) $this->filterForm = $this->get('FilterForm'); $this->activeFilters = $this->get('ActiveFilters'); $this->vote = PluginHelper::isEnabled('content', 'vote'); - $this->hits = ComponentHelper::getParams('com_content')->get('record_hits', 1); + $this->hits = ComponentHelper::getParams('com_content')->get('record_hits', 1) == 1; if (!\count($this->items) && $this->isEmptyState = $this->get('IsEmptyState')) { $this->setLayout('emptystate'); diff --git a/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php b/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php index 8c6e81db4856f..7d3b05029a3b1 100644 --- a/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php +++ b/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php @@ -68,6 +68,20 @@ class HtmlView extends BaseHtmlView */ private $isEmptyState = false; + /** + * Form object for search filters + * + * @var \Joomla\CMS\Form\Form + */ + public $filterForm; + + /** + * The active search filters + * + * @var array + */ + public $activeFilters; + /** * Execute and display a template script. * diff --git a/administrator/components/com_tags/src/View/Tags/HtmlView.php b/administrator/components/com_tags/src/View/Tags/HtmlView.php index b58c7b2dd7dce..8f36d9b9092de 100644 --- a/administrator/components/com_tags/src/View/Tags/HtmlView.php +++ b/administrator/components/com_tags/src/View/Tags/HtmlView.php @@ -80,6 +80,14 @@ class HtmlView extends BaseHtmlView */ private $isEmptyState = false; + /** + * The ordering list for the tags + * + * @var array + * @since __DEPLOY_VERSION__ + */ + protected $ordering = []; + /** * Execute and display a template script. *