IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28373


Ignore:
Timestamp:
Jun 16, 2010, 4:08:30 PM (16 years ago)
Author:
Paul Price
Message:

Fix pending query similar to definerun query.

Location:
trunk/ippTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pubtool_pending.sql

    r28319 r28373  
    2727        AND publishRun.state = 'new'
    2828        AND diffRun.state IN ('full', 'cleaned', 'goto_cleaned')
    29         AND (diffRun.magicked > 0 OR diffRun.diff_mode = 4 OR publishClient.magicked = 0)
     29        AND (diffRun.magicked != 0 OR diffRun.diff_mode = 4 OR publishClient.magicked = 0)
    3030        -- WHERE hook %s
    3131    UNION
     
    4848        AND publishRun.state ='new'
    4949        AND camRun.state IN ('full', 'cleaned', 'goto_cleaned')
    50         AND (camRun.magicked > 0 OR publishClient.magicked = 0)
     50        AND (camRun.magicked != 0 OR publishClient.magicked = 0)
    5151        -- WHERE hook %s
    5252) AS publishToDo
  • trunk/ippTools/src/pubtool.c

    r28371 r28373  
    293293    PXOPT_COPY_STR(config->args, where, "-stage", "publishClient.stage", "==");
    294294    PXOPT_COPY_STR(config->args, where, "-comment", "publishClient.comment", "LIKE");
    295     pxAddLabelSearchArgs(config, where, "-label", "label", "==");
     295    pxAddLabelSearchArgs(config, where, "-label", "publishRun.label", "==");
    296296
    297297    // optional
Note: See TracChangeset for help on using the changeset viewer.