You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "John Dale (DB2DOM)" <jc...@gmail.com> on 2021/07/02 01:03:50 UTC

Question about directory listing sorting ..

Doesn't seem to work for me on 9.0.41 (it's an older development box).

I found these interesting:
ow with patch v3:
1. "s=NA" name=asc
2. "s=ND" name=dsc
3. "s=SA" size=asc
4. "s=SD" size=dsc
5. "s=MA" modify=asc
6. "s=MD" modify=dsc

From here:
https://bz.apache.org/bugzilla/show_bug.cgi?id=57287

Before I get too far down the road, I thought I would reach out.
Params don't seem to affect listing sort order.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Question about directory listing sorting ..

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Konstantin,

On 7/2/21 05:28, Konstantin Kolinko wrote:
> пт, 2 июл. 2021 г. в 04:04, John Dale (DB2DOM) <jc...@gmail.com>:
>>
>> Doesn't seem to work for me on 9.0.41 (it's an older development box).
>>
>> I found these interesting:
>> ow with patch v3:
>> 1. "s=NA" name=asc
>> 2. "s=ND" name=dsc
>> 3. "s=SA" size=asc
>> 4. "s=SD" size=dsc
>> 5. "s=MA" modify=asc
>> 6. "s=MD" modify=dsc
>>
>>  From here:
>> https://bz.apache.org/bugzilla/show_bug.cgi?id=57287
>>
>> Before I get too far down the road, I thought I would reach out.
>> Params don't seem to affect listing sort order.
> 
> It is off by default. I updated the BZ issue to point this out.
> https://bz.apache.org/bugzilla/show_bug.cgi?id=57287#c12
> 
> Parameter names are a bit different.
> E.g. with 9.0.50 (I modified DefaultServer configuration, and using
> the examples web app):
> 
> http://localhost:8080/examples/jsp/cal/?C=N;O=A
> http://localhost:8080/examples/jsp/cal/?C=N;O=D

My first thought was "holy crap, someone cares about this feature?" :)

John, you're just made my trip to Brussels entirely worth it.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Question about directory listing sorting ..

Posted by Konstantin Kolinko <kn...@gmail.com>.
пт, 2 июл. 2021 г. в 04:04, John Dale (DB2DOM) <jc...@gmail.com>:
>
> Doesn't seem to work for me on 9.0.41 (it's an older development box).
>
> I found these interesting:
> ow with patch v3:
> 1. "s=NA" name=asc
> 2. "s=ND" name=dsc
> 3. "s=SA" size=asc
> 4. "s=SD" size=dsc
> 5. "s=MA" modify=asc
> 6. "s=MD" modify=dsc
>
> From here:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=57287
>
> Before I get too far down the road, I thought I would reach out.
> Params don't seem to affect listing sort order.

It is off by default. I updated the BZ issue to point this out.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57287#c12

Parameter names are a bit different.
E.g. with 9.0.50 (I modified DefaultServer configuration, and using
the examples web app):

http://localhost:8080/examples/jsp/cal/?C=N;O=A
http://localhost:8080/examples/jsp/cal/?C=N;O=D

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org