IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 15, 2012, 1:08:57 PM (14 years ago)
Author:
watersc1
Message:

The previous iteration on prioritizing science data over stare data did not work correctly. This version moves the ORDER BY dateobs statement into the elements of the union. I've also disabled the dateobs sorting that was done on the result of the union, as we no longer wish to do that (as it would undo the entire reason for the union).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pztool.c

    r31445 r33533  
    338338        }
    339339
    340         psStringAppend(&query, " ORDER BY dateobs");
    341         if (desc) {
    342             psStringAppend(&query, " DESC");
    343         }
     340/*         psStringAppend(&query, " ORDER BY dateobs"); */
     341/*         if (desc) { */
     342/*             psStringAppend(&query, " DESC"); */
     343/*         } */
    344344
    345345        // request the full "limit" from each known camera and throw away any
Note: See TracChangeset for help on using the changeset viewer.