diff --git a/src/Module/BaseNotifications.php b/src/Module/BaseNotifications.php index 0445075995..0366ed0bb3 100644 --- a/src/Module/BaseNotifications.php +++ b/src/Module/BaseNotifications.php @@ -155,7 +155,7 @@ abstract class BaseNotifications extends BaseModule foreach (self::URL_TYPES as $type => $url) { $tabs[] = [ 'label' => $this->t(self::PRINT_TYPES[$type]), - 'url' => 'notifications/' . $url, + 'url' => 'notifications/' . $url . (($url == "personal") ? "?show=all" : ""), 'sel' => (($selected == $url) ? 'active' : ''), 'id' => $type . '-tab', 'accesskey' => self::ACCESS_KEYS[$type], diff --git a/src/Module/Notifications/Notifications.php b/src/Module/Notifications/Notifications.php index 8d6195d909..859bff76a7 100644 --- a/src/Module/Notifications/Notifications.php +++ b/src/Module/Notifications/Notifications.php @@ -64,7 +64,7 @@ class Notifications extends BaseNotifications $notificationHeader = $this->t('Personal Notifications'); $notifications = [ 'ident' => FormattedNotify::PERSONAL, - 'notifications' => $factory->getPersonalList(true, $this->firstItemNum, self::ITEMS_PER_PAGE), + 'notifications' => $factory->getPersonalList($this->showAll, $this->firstItemNum, self::ITEMS_PER_PAGE), ]; } elseif (($this->args->get(1) == 'home')) { $notificationHeader = $this->t('Home Notifications');