MNT-24308 On click of 'My Favorites' under 'Documents' in 'Document Library' page, all links grayed out

This commit is contained in:
DurgDineshsai
2025-04-08 12:05:00 +05:30
parent 7412553930
commit b26e3718f7

View File

@@ -189,7 +189,7 @@ var Filters =
filterQuery += "ID:\"" + favourite + "\"";
}
if (filterQuery.length !== 0)
if (filterQuery.length !== 0 && filterQuery !== "ID:\"\"")
{
filterQuery = "+(" + filterQuery + ")";
// no need to specify path here for all sites - IDs are exact matches
@@ -201,7 +201,7 @@ var Filters =
else
{
// empty favourites query
filterQuery = "+ID:\"\"";
filterQuery = "+ID:\"default\"";
}
filterParams.query = filterQuery;