The "All Resources" table on the Manage Resources screen is always sorted by Resource Name, even when you try to sort by Location or Schedule. This change makes sorting by any of those columns possible; the default sort order is still by Resource Name if nothing else is selected. This is for version 1.1.3.
I posted this fix awhile back in the SourceForge forum, but there was no response. That was so uncharacteristic of the forum I thought perhaps no one saw it, hence this post. My apologies if I've breached protocol.
In function listResourcesTable() in lib\Admin.class.php, directly above
$orders = array('name', 'machID');
add these lines:
// Fix sorting. Use 'name' for sorting only when order not specified 3/9/06 caf
if( isset( $_GET['order'] ) )
$orders = array( trim( $_GET['order'] ), 'machID' );
else
(This puts the $orders = array('name', 'machID'); line in the else clause).
-cfraz