Live-Search: Searching with deactivated List Module gives JS Error: [string] web_list was not found in modules
Using a BE User, who does not have access to the List Module, you get the following error when you click on a search result to open it:
[string] web_list was not found in modules
(issue imported from #M16680)
Updated by Steffen Kamper almost 11 years ago
This inconsistence exists since years. imho it's wrong to use list module for search. There should be an own module "be_search" that simply extend t3lib_ recordlist and show search results. It's normal usecase that you want to restrict a user without listvview, but don't restrict him on search.
Consequent for now would be to show search box only when list ext is installed.
Updated by Chris topher almost 11 years ago
If the list module is deactivated, you can still search for the pid of a page. But basically everything else does not work.
If the user searched for something not prepended with "#page:", then a possibility would be to output a message telling the user, that the search needs the list module and that he therefore cannot really use the search. But I think that, if you deactivated that module, you did that, because you want that module to be deactivated. People won't activate it, because the search needs it. So basically such a message would only tell you that there is a great function, which you cannot use.
We should not do that; that is bad.
So after all I think Steffen's idea to only show the search, when the list module is activated sounds good.