mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
Fixed bug in cart validation after edit
This commit is contained in:
@@ -17884,3 +17884,4 @@
|
|||||||
* Modified rdmonitor(1) to use QProcess to spawn rdselect(1).
|
* Modified rdmonitor(1) to use QProcess to spawn rdselect(1).
|
||||||
2018-10-22 Patrick Linstruth <patrick@deltecent.com>
|
2018-10-22 Patrick Linstruth <patrick@deltecent.com>
|
||||||
* Disable play/stop button focus in rdlibrary(1)
|
* Disable play/stop button focus in rdlibrary(1)
|
||||||
|
* Fixed bug in cart validation after edit in rdlibrary(1)
|
||||||
|
@@ -1454,19 +1454,19 @@ void MainWidget::RefreshLine(RDListViewItem *item)
|
|||||||
"GROUPS.COLOR,"+ // 22
|
"GROUPS.COLOR,"+ // 22
|
||||||
"CUTS.TALK_START_POINT,"+ // 23
|
"CUTS.TALK_START_POINT,"+ // 23
|
||||||
"CUTS.TALK_END_POINT,"+ // 24
|
"CUTS.TALK_END_POINT,"+ // 24
|
||||||
"CUTS.LENGTH,"+ // 23
|
"CUTS.LENGTH,"+ // 25 offsets begin here
|
||||||
"CUTS.EVERGREEN,"+ // 24
|
"CUTS.EVERGREEN,"+ // 26
|
||||||
"CUTS.START_DATETIME,"+ // 25
|
"CUTS.START_DATETIME,"+ // 27
|
||||||
"CUTS.END_DATETIME,"+ // 26
|
"CUTS.END_DATETIME,"+ // 28
|
||||||
"CUTS.START_DAYPART,"+ // 27
|
"CUTS.START_DAYPART,"+ // 29
|
||||||
"CUTS.END_DAYPART,"+ // 28
|
"CUTS.END_DAYPART,"+ // 30
|
||||||
"CUTS.MON,"+ // 29
|
"CUTS.MON,"+ // 31
|
||||||
"CUTS.TUE,"+ // 30
|
"CUTS.TUE,"+ // 32
|
||||||
"CUTS.WED,"+ // 31
|
"CUTS.WED,"+ // 33
|
||||||
"CUTS.THU,"+ // 32
|
"CUTS.THU,"+ // 34
|
||||||
"CUTS.FRI,"+ // 33
|
"CUTS.FRI,"+ // 35
|
||||||
"CUTS.SAT,"+ // 34
|
"CUTS.SAT,"+ // 35
|
||||||
"CUTS.SUN "+ // 35
|
"CUTS.SUN "+ // 37
|
||||||
"from CART left join GROUPS "+
|
"from CART left join GROUPS "+
|
||||||
"on CART.GROUP_NAME=GROUPS.NAME left join CUTS on "+
|
"on CART.GROUP_NAME=GROUPS.NAME left join CUTS on "+
|
||||||
"CART.NUMBER=CUTS.CART_NUMBER where "+
|
"CART.NUMBER=CUTS.CART_NUMBER where "+
|
||||||
@@ -1477,7 +1477,7 @@ void MainWidget::RefreshLine(RDListViewItem *item)
|
|||||||
validity=RDCart::AlwaysValid;
|
validity=RDCart::AlwaysValid;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
validity=ValidateCut(q,24,validity,current_datetime);
|
validity=ValidateCut(q,25,validity,current_datetime);
|
||||||
}
|
}
|
||||||
switch((RDCart::Type)q->value(14).toUInt()) {
|
switch((RDCart::Type)q->value(14).toUInt()) {
|
||||||
case RDCart::Audio:
|
case RDCart::Audio:
|
||||||
|
Reference in New Issue
Block a user