Skip to content
Snippets Groups Projects
Commit 3081391a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Folder: Remove invalid pattern check

Refs #359
parent ba777221
No related branches found
No related tags found
1 merge request!719Media: Remove invalid pattern check
......@@ -1075,8 +1075,6 @@ Query<IMedia> Folder::media( IMedia::Type type, const QueryParameters* params )
Query<IMedia> Folder::searchMedia( const std::string& pattern, IMedia::Type type,
const QueryParameters* params ) const
{
if ( pattern.size() < 3 )
return {};
return Media::searchFromFolderId( m_ml, pattern, type, m_id, params,
m_publicOnlyListing );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment