moin icon indicating copy to clipboard operation
moin copied to clipboard

search query: add some more clickable options

Open ThomasWaldmann opened this issue 14 years ago • 6 comments

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.

  1. 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)

  2. if farm wikis share a common index, we maybe could display a list of wikis with checkboxes to limit search to the selected wikis

  3. maybe offer a list of tags to select

ThomasWaldmann avatar Sep 02 '11 18:09 ThomasWaldmann

Original comment by Don Lebowski (Bitbucket: onthefly, GitHub: onthefly).


Hey thanks vice versa, but right now i have to learn the ropes so plz be patient :)

ThomasWaldmann avatar Oct 08 '12 15:10 ThomasWaldmann

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!

ThomasWaldmann avatar Oct 05 '12 12:10 ThomasWaldmann

Original comment by Don Lebowski (Bitbucket: onthefly, GitHub: onthefly).


Hey there, i would try to solve this one. But at least i would need a leverage to know where to start, so a directory path in the repo would be a nice hint. I would appreciate it. Thanks

ThomasWaldmann avatar Oct 04 '12 22:10 ThomasWaldmann

Original comment by hacklab (Bitbucket: hacklab, GitHub: hacklab).


look at index view and mimetype groups

ThomasWaldmann avatar Oct 27 '11 14:10 ThomasWaldmann

Update to the status of this issue.

Regarding 1: There are groups for contenttypes that can be selected in the Search options section.

image

Regarding 2: We don't have farm support yet. But we can add a list of checkboxes for namespaces.

UlrichB22 avatar Oct 08 '24 17:10 UlrichB22

New topic

  1. 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'

UlrichB22 avatar Oct 08 '24 17:10 UlrichB22