Re: Question about directory listing sorting ..

2021-07-02 Thread Christopher Schultz

Konstantin,

On 7/2/21 05:28, Konstantin Kolinko wrote:

пт, 2 июл. 2021 г. в 04:04, John Dale (DB2DOM) :


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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Question about directory listing sorting ..

2021-07-02 Thread Konstantin Kolinko
пт, 2 июл. 2021 г. в 04:04, John Dale (DB2DOM) :
>
> 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Question about directory listing sorting ..

2021-07-01 Thread John Dale (DB2DOM)
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org