asterisk/addons
Michael L. Young ba7ee9bfc9 Fix Sorting Order For Parking Lots Stored In Static Realtime
When retrieving the parking lots from a MySQL database table, the current order
is "filename, cat_metric desc, var_metric asc, category".  If there are multiple
parking lots with the same cat_metric but different categories, everything is
being sorted on cat_metric first resulting in errors when loading the parking
lots.

This patch fixes the problem by sorting on the category field first, then the
cat_metric field.

(closes issue ASTERISK-21035)
Reported by: Alex Epshteyn
Patches:
  asterisk-21035-orderby.diff Michael L. Young (license 5026)
........

Merged revisions 382942 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 382943 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-03-12 21:19:39 +00:00
..
ooh323c Send re-register packets by GRQ (gatekeeper request) interval 2012-08-10 15:24:03 +00:00
Makefile Title update 2012-10-14 21:56:13 +00:00
app_mysql.c Clean up app_mysql's application entry points to properly parse arguments 2013-01-02 22:19:32 +00:00
app_saycountpl.c Opaquify channel stringfields 2012-01-24 20:12:09 +00:00
cdr_mysql.c Remove some dead code and additionally handle a case that wasn't handled. 2012-12-10 01:29:32 +00:00
chan_mobile.c Fix issue where chan_mobile fails to bind to first available port 2013-01-17 02:32:34 +00:00
chan_ooh323.c remove ALREADYGONE flag on ooh323 call data by ooh323_indicate 2012-08-10 16:49:27 +00:00
chan_ooh323.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
format_mp3.c format_mp3: Fix a possible crash in mp3_read(). 2012-05-12 00:03:42 +00:00
ooh323cDriver.c Added direct media support to ooh323 channel driver 2012-07-04 21:42:05 +00:00
ooh323cDriver.h Merged revisions 308242 via svnmerge from 2011-02-18 00:11:06 +00:00
res_config_mysql.c Fix Sorting Order For Parking Lots Stored In Static Realtime 2013-03-12 21:19:39 +00:00