mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2019-05-14 Fred Gleason <fredg@paravelsystems.com>
* Modified the query in the Webget service to always return the lowest numbered matching cart/cut found.
This commit is contained in:
@@ -169,7 +169,8 @@ void MainObject::ripcConnectedData(bool state)
|
||||
"CUTS.CUT_NAME from "+
|
||||
"CART left join CUTS on CART.NUMBER=CUTS.CART_NUMBER where "+
|
||||
"CART.TITLE=\""+RDEscapeString(title)+"\" && "+
|
||||
QString().sprintf("CART.TYPE=%d",RDCart::Audio);
|
||||
QString().sprintf("CART.TYPE=%d ",RDCart::Audio)+
|
||||
"order by CUTS.CUT_NAME";
|
||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||
if(q->first()) {
|
||||
cartnum=RDCut::cartNumber(q->value(0).toString());
|
||||
|
Reference in New Issue
Block a user