Logo
FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
Category Sort Function Broken?

 
Post new topic   Reply to topic    www.fanart-central.net Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Stratadrake
Elder Than Dirt


Joined: 05 May 2004
Posts: 13722
Location: Moo

PostPosted: Fri Nov 12, 2004 5:24 pm    Post subject: Reply with quote

I was toying around earlier and wondering why the category sort options at the top of the listings weren' tworking.

Turns out it's a browser issue Laughing <_<

So I open up the same page in IE5 and start toying around with the same options. After awhile, I notice something. (See attachment)

Why is the URL so long?

...Because the Javascript used for the category sort function simply appends the chosen option onto the URL, even if the sort parameter already exists. This doesn't cause any problems with the category listings (apparently the last of multiple parameters overrides the earlier ones), but the URL starts getting much longer than it needs to be. I also notice that the listboxes aren't initialized to the current sort method or list size, both of them come up blank.

That's when I realize, the way the sort interface is coded, it loads the page after any change made to either setting. Again, more of an inconvenience than a real problem, but if I want to switch the category listing to (say) its ten most recent, I have to select the options one at a time. "Date (newest first)" and the page reloads, then "10" and the page reloads again.

So this brings me to a question: What about redesigning the category sort interface to work kinda like the "Search" interface? Instead of a Javascript redirect tied to the listboxes' onChange events, there could be a "Go" button next to them. Pick a sort method, pick a list size, hit "Go" to perform the sort.
_________________
Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size]
Back to top
View user's profile Send private message
cstdenis
Evil Overlord


Joined: 31 Dec 1969
Posts: 6490
Location: In the tubes.

PostPosted: Fri Nov 12, 2004 7:31 pm    Post subject: Reply with quote

Added to todo list, but its a somewhat low priority improvment.
_________________
You will obey or molten silver will be poured into your ears.
Back to top
View user's profile Send private message Visit poster's website
Stratadrake
Elder Than Dirt


Joined: 05 May 2004
Posts: 13722
Location: Moo

PostPosted: Fri Nov 12, 2004 10:42 pm    Post subject: Reply with quote

I kinda figured it would be... but in the meantime, now that I know what the URL form for category sorts is, so I can type them myself if I want to sort them Wink
_________________
Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.fanart-central.net Forum Index -> General Help All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum