diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-08 19:57:15 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-03-08 19:57:15 +0100 |
commit | 7c26f6626a47c7e3e902f6b00c7c9e640a18f22c (patch) | |
tree | 16d4bdb027687f8035a2c710c219a463444be7fa /index.php | |
parent | db0caba3c40c8d073779e77b2bada8cdba6d0518 (diff) | |
download | Shaarli-7c26f6626a47c7e3e902f6b00c7c9e640a18f22c.tar.gz Shaarli-7c26f6626a47c7e3e902f6b00c7c9e640a18f22c.tar.zst Shaarli-7c26f6626a47c7e3e902f6b00c7c9e640a18f22c.zip |
Display private only filter as search parameter
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1681,6 +1681,7 @@ function buildLinkList($PAGE,$LINKSDB, $conf, $pluginManager) | |||
1681 | 'result_count' => count($linksToDisplay), | 1681 | 'result_count' => count($linksToDisplay), |
1682 | 'search_term' => $searchterm, | 1682 | 'search_term' => $searchterm, |
1683 | 'search_tags' => $searchtags, | 1683 | 'search_tags' => $searchtags, |
1684 | 'visibility' => ! empty($_SESSION['privateonly']) ? 'private' : '', | ||
1684 | 'redirector' => $conf->get('redirector.url'), // Optional redirector URL. | 1685 | 'redirector' => $conf->get('redirector.url'), // Optional redirector URL. |
1685 | 'links' => $linkDisp, | 1686 | 'links' => $linkDisp, |
1686 | 'tags' => $LINKSDB->allTags(), | 1687 | 'tags' => $LINKSDB->allTags(), |