Something
public text v1 · immutable@@ -7176,12 +7171,8 @@
if ( m_query.isEmpty() )
{
linkTables( m_linkTables );
- if ( !m_showAll && !m_tables.contains("tags") )
- {
- m_tables += ",tags";
- }
m_query = "SELECT " + m_values + " FROM " + m_tables + ' ' + m_join + " WHERE " + CollectionDB::instance()->boolT() + ' ' + m_where;
- if ( !m_showAll )
+ if ( !m_showAll && m_tables.contains( "tags" ) )
{
IdList list = MountPointManager::instance()->getMountedDeviceIds();
QString deviceIds = "";