Is there not an inconsistency in this part of code? it looks like there was a reversal that creates a dysfunction in the sort file display with arrows.
if s > '' then
vars.valueFromIndex[ex]:=s; // exists, change the value
else
vars.delete(ex) // exists, but we are trying to empty it
end;
udapted hfs.tpl as
or to correct the direction of the sort of Timestamp and Hits remove the char "-"
case sortby of
SB_SIZE: result:=compare_(f1.size, f2.size);
SB_TIME: result:=compare_(f1.mtime, f2.mtime);
SB_DL: result:=compare_(f1.DLcount, f2.DLcount);
then arrows behind tittle are correct
Quote
procedure getUri();changed bold text to
.......
else
if s > '' then
vars.delete(ex) // exists, but we are trying to empty it
else
vars.valueFromIndex[ex]:=s; // exists, change the value
end;
if vars.count = 0 then exit;
.......
if s > '' then
vars.valueFromIndex[ex]:=s; // exists, change the value
else
vars.delete(ex) // exists, but we are trying to empty it
end;
udapted hfs.tpl as
Quote
<th>{.^sortlink|n|Name.}{.^sortlink|e|.extension.}
<th>{.^sortlink|s|Size.}
<th>{.^sortlink|!t|Timestamp.}
<th>{.^sortlink|!d|Hits.}
or to correct the direction of the sort of Timestamp and Hits remove the char "-"
case sortby of
SB_SIZE: result:=compare_(f1.size, f2.size);
SB_TIME: result:=compare_(f1.mtime, f2.mtime);
SB_DL: result:=compare_(f1.DLcount, f2.DLcount);
then arrows behind tittle are correct