Developer forum

Forum » Development » Press on sort link in datalist stacks up the sorting url.

Press on sort link in datalist stacks up the sorting url.


Reply
 The site: Sika-footwear.dk

The page: Dealers-411.aspx

The template: [templates->DataManagement->Publishings->Custom->Sika_List.html]

The problem: 
I have a page that outputs 3 columns: Navn, Postnummer, By.
Im using the tag "@Column.SortUrl" to aquire a sort-function on my column headers. 
Im using the "@Column.SortUrl" tag in the "Columns" loop, and every time I press the columnheader the sorting url in the browser navbar stacks up with the last shown sortURL. How do I fix this?

Example:
Page load:
http://www.sika-footwear.dk/Dealers-411.aspx?Purge=True

Press on "Navn" once:
http://www.sika-footwear.dk/Dealers-411.aspx?Purge=True&sortby=Navn&sortorder=DESC&ViewPID=3700

press on "Navn" twice:
http://www.sika-footwear.dk/Dealers-411.aspx?Purge=True&sortby=Navn&sortorder=DESC&ViewPID=3700&sortby=Navn&sortorder=ASC&ViewPID=3700
 

Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
There is indeed a bug here. I have registered it. Item #5970.
 
Nicolai Høeg Pedersen
Reply
And Jeppe also made a fix - so it will be out with the next hotfix.

 

You must be logged in to post in the forum