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

 
Anders Ebdrup
Anders Ebdrup
Reply

Bump...

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I have send it to QA

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

We are in discussing of the implementation. Number of the new task will be posted here shortly. Thanks.

BR, Oleg QA 

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

new task 13224 has been created to implement the feature. Thanks.

BR, Oleg QA

 

You must be logged in to post in the forum