Switch to unified view
a/Allura/allura/lib/macro.py | b/Allura/allura/lib/macro.py | ||
---|---|---|---|
... |
... |
||
143 | # 'trove' is internal substitution for 'category' filter in wiki macro |
143 | # 'trove' is internal substitution for 'category' filter in wiki macro |
144 | trove = category |
144 | trove = category |
145 | limit = int(limit) |
145 | limit = int(limit) |
146 | q = dict( |
146 | q = dict( |
147 | deleted=False, |
147 | deleted=False, |
148 | shortname={'$ne':'--init--'}) |
148 | is_nbhd_project=False) |
149 | q.update(initial_q) |
149 | q.update(initial_q) |
150 | 150 | ||
151 | if labels: |
151 | if labels: |
152 | or_labels = labels.split('|') |
152 | or_labels = labels.split('|') |
153 | q['$or'] = [{'labels': {'$all': l.split(',')}} for l in or_labels] |
153 | q['$or'] = [{'labels': {'$all': l.split(',')}} for l in or_labels] |