EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Site Forums > Site Help & Suggestions

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-06-2007, 04:07 PM
Seagoat's Avatar
Seagoat Seagoat is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Crushbone
Posts: 298
Default Sorting by Column Header

In the Downloads section, I'm clicking on the table column headers to sort by different criteria, but the page isn't being resorted. The URL query string is changing, just not the page contents.

It worked not that long ago -- since the site upgrade -- but it's definitely borked now. :-/ Browsing through the different download categories, it seems to be happening in each one so far.
Reply With Quote
  #2  
Unread 05-06-2007, 11:51 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Do you have a link where its happening? I am able to sort just fine, that code hasnt changed with the upgrade.

Just double checked the column sorting in a download category with IE7, FF & on my mac's Safri and I'm able to sort the column then click the arrow to change the order ASC/DESC.

Last edited by Dolby : 05-06-2007 at 11:53 PM.
Reply With Quote
  #3  
Unread 05-07-2007, 12:22 AM
Seagoat's Avatar
Seagoat Seagoat is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Crushbone
Posts: 298
Default

I'm seeing it in all download categories, but here's an example...
Experience Bars (http://www.eq2interface.com/downloads/cat109.html)

The default sort is "Last Updated." When I click on the arrow to sort oldest to newest (http://www.eq2interface.com/download...sb=lastupdate), the URL changes but the page's sort order remains the same.

I get the same behavior when clicking any of the column headers:
Filename (http://www.eq2interface.com/download...sc&sb=filename)
Uploaded By (http://www.eq2interface.com/download...sc&sb=uploader)
Size (http://www.eq2interface.com/download...sc&sb=filesize)
Downloads (http://www.eq2interface.com/download...asc&sb=dlcount)
Rating (http://www.eq2interface.com/download...=asc&sb=rating)

As expected, this behavior isn't browser-specific (since it relies on database queries and server-side code execution). I'm seeing the same thing in Firefox and Netscape.
Reply With Quote
  #4  
Unread 05-07-2007, 03:18 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Just to confirm that Seagoat isn't the only one again with issues, the sorting doesn't work for me either, looks like the so= and sb= parameters get ignored by the code.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 05-07-2007 at 03:20 AM.
Reply With Quote
  #5  
Unread 05-07-2007, 08:04 AM
Seagoat's Avatar
Seagoat Seagoat is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Crushbone
Posts: 298
Default

Ok, just noticed some odd behavior...

Scenario 1: When I go to an interface category from the category listing page, then try to sort, I get no changes.

Scenario 2: When I'm viewing an interface piece and I click the category name in the breadcrumb links above the file description, the sorting magically works again.

The URLs are not the same!!

Scenario 1 (Does not work)
Code:
http://www.eq2interface.com/downloads/cat100.html?cid=100&dp=0&sh=full&so=asc&sb=filename
Scenario 2 (Works)
Code:
http://www.eq2interface.com/downloads/index.php?cid=100&dp=0&sh=full&so=asc&sb=filename
Reply With Quote
  #6  
Unread 05-07-2007, 09:24 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Ah there you found it, looking at the source the column header links are wrong, they only contain the argument "?XXX" but not the resource to pass it too "index.php?XXX". Although that would be fine if the links for the categories would not be to .html pages but rather to the index.php?cid=XXX in the first place.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 05-07-2007 at 09:26 AM.
Reply With Quote
  #7  
Unread 05-07-2007, 12:53 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Thanks for looking further into it. I was able to experience the same problem as you after noticing the link. I forced the sort links to be .php. I was using $PHP_SELF in the script and it was getting confused from the mod_rewrite for the nicer lookin url's.

Thanks for your help guys.

Last edited by Dolby : 05-07-2007 at 01:04 PM.
Reply With Quote
  #8  
Unread 05-07-2007, 03:05 PM
Seagoat's Avatar
Seagoat Seagoat is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Crushbone
Posts: 298
Default

Working now...thanks for the quick fix.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:02 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI