Changed Folder and Collection type to not searchable in @@search-controlpanel. In the default created folder "Noticias" added two folders and a collection.
What I expect to happen:
Content-types not searchable in "Search" functionality.
What actually happened:
Files were not searchable in "Search" functionality but when in you're in a folder with these content-types an incorrect message "There are currently no items in this folder" is shown, since there are files inside the folder. We tested only "Standard view" in all tests, but have seen that "Summary view" for example has the same problem.
Plone 4.3.12 Archetypes
Plone 4.3.12 Dexterity
Plone 5.0.7
Plone 5.1b2
We suggest:
Fixing this behavior to not use types_not_searched in these views (possibly hard to do it, lots of testing since we're using types_not_searched property/registry);
Change the message to "There are currently no items in this folder or they are set as non searchable content-types in @@search-controlpanel" or something similar. All code that uses this message will need to be reviewed if it's actually using types_not_searched somewhere.
What version of Plone/ Addons I am using:
Tested with Plone 4.3.12 (Archetypes and Dexterity), 5.0.7 and 5.1b2
(Sorry about image quality, the screenshot app was wrongly configured)
BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)
What I did:
Changed
Folder
andCollection
type to not searchable in @@search-controlpanel. In the default created folder "Noticias" added two folders and a collection.What I expect to happen:
Content-types not searchable in "Search" functionality.
What actually happened:
Files were not searchable in "Search" functionality but when in you're in a folder with these content-types an incorrect message "There are currently no items in this folder" is shown, since there are files inside the folder. We tested only "Standard view" in all tests, but have seen that "Summary view" for example has the same problem.
Plone 4.3.12 Archetypes
Plone 4.3.12 Dexterity
Plone 5.0.7
Plone 5.1b2
We suggest:
types_not_searched
somewhere.What version of Plone/ Addons I am using:
Tested with Plone 4.3.12 (Archetypes and Dexterity), 5.0.7 and 5.1b2
(Sorry about image quality, the screenshot app was wrongly configured)