Qualify the column name with the table alias (i.e. class name)
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 20:32:25 +0000 (20:32 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 20:32:25 +0000 (20:32 +0000)
at one spot in the ORDER BY clause where we were neglecting
to do so.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13082 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_cstore.c

index 52c5c3a..c7491fb 100644 (file)
@@ -3760,7 +3760,7 @@ char* SELECT (
                                                else
                                                        order_buf = buffer_init(128);
 
-                                               OSRF_BUFFER_ADD(order_buf, _f);
+                                               buffer_fadd( order_buf, "\"%s\".%s", class_itr->key, _f);
 
                                        } // end while
                                // jsonIteratorFree(order_itr);