diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 17:56:56 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 17:56:56 -0700 |
commit | 5733491ac853b4af5d4829d68e870f3d82ced3c8 (patch) | |
tree | e90b5ee0f46e37e239cf9df51e6e45adf7b7d454 /include/contact_widgets.php | |
parent | 8812f183a288fa3da960c5b91107315080ecec1e (diff) | |
parent | bc8840eab5298aef6902ac0751adf91df5232188 (diff) | |
download | volse-hubzilla-5733491ac853b4af5d4829d68e870f3d82ced3c8.tar.gz volse-hubzilla-5733491ac853b4af5d4829d68e870f3d82ced3c8.tar.bz2 volse-hubzilla-5733491ac853b4af5d4829d68e870f3d82ced3c8.zip |
more work on items
and
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
include/items.php
view/it/messages.po
view/it/strings.php
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r-- | include/contact_widgets.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php index a02fea523..2c41ea92e 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -71,6 +71,8 @@ function categories_widget($baseurl,$selected = '') { if(! feature_enabled($a->profile['profile_uid'],'categories')) return ''; + $item_normal = item_normal(); + $terms = array(); $r = q("select distinct(term.term) from term join item on term.oid = item.id @@ -78,7 +80,7 @@ function categories_widget($baseurl,$selected = '') { and term.uid = item.uid and term.type = %d and item.author_xchan = '%s' - and item.item_restrict = 0 + $item_normal order by term.term asc", intval($a->profile['profile_uid']), intval(TERM_CATEGORY), |