Developer forum

Forum » Development » Default favorite list not handled

Default favorite list not handled

Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

In the UserProductsMacro the default favorite list is not supported as null is just returned if not set in the url:

        private static object GetFavoritesAutoIdsByUserId()
        {
            // If ?ListID=?? is not specified, do not return anything
            string favoriteListId = Common.Context.FavoriteListID;
            if (string.IsNullOrEmpty(favoriteListId))
            {
                return null;
            }
            ...
        }
Can it be added, so it will grap the first/default list?


Best regards,
Anders


Replies

 

You must be logged in to post in the forum