Phil Leigh;404295 Wrote: > > Now, if only I could persuade the plugin to treat my "position" tag as > a number and not a string, it would sort properly :). > If you feel ready to customize the SQL manually, you might want to try changing the SQL from things like: "order by attr1.value asc" To "order by floor(attr1.value) asc"
This should convert the value to a number before sorting which should give the correct sort result. Which menu template do you want this in ? If it's one of the templates where you specify which tag you want on each menu level I might be able to add an option in a future version to configure if it should sort by number or string. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) 'My download page' (http://erland.isaksson.info/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=61082 _______________________________________________ ripping mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/ripping
