From: ivan Date: Mon, 1 May 2006 11:43:09 +0000 (+0000) Subject: fix bug with duplicate tickets showing up on customer view listing when the custom... X-Git-Tag: BEFORE_FINAL_MASONIZE~158 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=69506a2741c08f1f849c9650bf3650a0f6a319f0 fix bug with duplicate tickets showing up on customer view listing when the custom priority field was edited --- diff --git a/FS/FS/TicketSystem/RT_External.pm b/FS/FS/TicketSystem/RT_External.pm index d951cc0e7..667f0dc2d 100644 --- a/FS/FS/TicketSystem/RT_External.pm +++ b/FS/FS/TicketSystem/RT_External.pm @@ -109,6 +109,7 @@ sub _from_customer { ON ( tickets.id = ObjectCustomFieldValues.ObjectId )"; $where = " AND content = ? + AND disabled != 1 AND ObjectType = 'RT::Ticket' AND $customfield_sql";