Open ThomasWaldmann opened 13 years ago
Original comment by Thomas Waldmann (Bitbucket: thomaswaldmann, GitHub: thomaswaldmann).
The search view code starts there:
http://hg.moinmo.in/moin/2.0/file/12053b28483d/MoinMoin/apps/frontend/views.py#l237
For any kind of "selection widgets", you maybe want to look at the widgets done by xiaq (currently mostly used by the ticket and blog related views).
Thanks for helping!
Update to the status of this issue.
Regarding 1: There are groups for contenttypes that can be selected in the Search options section.
Regarding 2: We don't have farm support yet. But we can add a list of checkboxes for namespaces.
New topic
There should be checkboxes to include or exclude the trash in search. At the moment items from trash are included in the search results. Items from trash are usually only listed in the history but not in the index for normal users. So I would not expect to see deleted items in my search results by default.
To exclude deleted items you can add 'NOT trash:True' to the query. This will give the correct result but an additional hint 'Common words omitted from query: not'
Original report by Thomas Waldmann (Bitbucket: thomaswaldmann, GitHub: thomaswaldmann).
currently the search is most powerful if you know how to enter the correct queries into the search field.
maybe we want to have some clickable stuff also (see also moin 1.9 FindPage), e.g.
what contenttypes to search in (usually it searches in all types) - use groups of stuff so that a normal user understands it (see index page)
if farm wikis share a common index, we maybe could display a list of wikis with checkboxes to limit search to the selected wikis
maybe offer a list of tags to select