Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Search form: forum menu in bizarre order  RSS feed

 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I use the Search form, the "Search Form:" menu lists the forums in a strange order -- not alphabetical, and not grouped logically by topic.
Could you change this to be alphabetical? It's hard to find the one I want in an unordered list of 70 names.
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We had a long discussion about this subject in this thread.
[ September 01, 2003: Message edited by: Marilyn de Queiroz ]
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. But why can't the JSP that generates this page just call Collections.sort() or the like before outputting those menu items?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"The JSP that generates this page . . . " - Nope, no such critter.
The page is CGI and I believe that it is generated by a Perl Script that UBB (the forum software) uses.
Yes, yes, we have had zillions of conversation on why don't we use java, and why don't we do continual hacks. Do a search on "jive" and you can read many of them.
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK then ... Perl also has a sort() function, to which you can pass an arbitrary function or code block that defines a comparison mechanism.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!