aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-06-01 08:19:52 +0200
committerGitHub <noreply@github.com>2017-06-01 08:19:52 +0200
commit56f3b121712edcfa9a33178dccd89fadd0549642 (patch)
tree54afefd21ae000757b5c90abeb67a5a7034f42f3 /include/items.php
parent927313968aa2bd60464ef754c64ccaa746a8fed3 (diff)
parenta7ecf519156c1110acbb0eadd13dee63b7adaabd (diff)
downloadvolse-hubzilla-56f3b121712edcfa9a33178dccd89fadd0549642.tar.gz
volse-hubzilla-56f3b121712edcfa9a33178dccd89fadd0549642.tar.bz2
volse-hubzilla-56f3b121712edcfa9a33178dccd89fadd0549642.zip
Merge pull request #802 from zotlabs/searchwebpages
provide ability to search webpages (either public or which contain th…
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 328079b9d..f7fddad33 100755
--- a/include/items.php
+++ b/include/items.php
@@ -175,6 +175,13 @@ function item_normal() {
and item.item_blocked = 0 ";
}
+function item_normal_search() {
+ return " and item.item_hidden = 0 and item.item_type in (0,3) and item.item_deleted = 0
+ and item.item_unpublished = 0 and item.item_delayed = 0 and item.item_pending_remove = 0
+ and item.item_blocked = 0 ";
+}
+
+
/**
* @brief
*