Do not show Tickets in the schedule screen when they are either in the Trash or in the Clipboard. Fixes bug #12345.

This commit is contained in:
Colin Kuskie 2012-05-26 20:59:14 -07:00
parent ee783e7374
commit 45d7c5505f
2 changed files with 2 additions and 0 deletions

View file

@ -1792,6 +1792,7 @@ sub www_getScheduleDataJSON {
and EMSTicket.location in ( } .
join( ',', (map { $db->quote($_) } (@ticketLocations))) .
q{ )
and asset.state='published'
and assetData.revisionDate = (
select max(revisionDate)
from assetData