diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-21 21:28:00 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-21 21:28:00 -0700 |
commit | 529ded3388673036314eefd5bfb1cfc0b76f7f9e (patch) | |
tree | 9b7403d6cf295d6df8996070efde48a3f371dfe3 /modules/server_add/js/server_add.js | |
parent | 123afc954281c1f924f851a33ae5016774e6d9f3 (diff) |
2nd attempt at gracefully dealing with sort columns that contain
nulls. This time around, do a query to determine whether or not the
sort column has nulls in it. If it doesn't, then use our comparators
as before.
There are NULLs in the sort column, so we can't use MySQL comparators.
Fall back to iterating over every child row to get to the current one.
This can be wildly inefficient for really large albums, but it should
be a rare case that the user is sorting an album with null values in
the sort column.
Fixes #627
Diffstat (limited to 'modules/server_add/js/server_add.js')
0 files changed, 0 insertions, 0 deletions