Subversion Repositories SmartDukaan

Rev

Rev 3422 | Rev 3519 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3422 Rev 3499
Line 211... Line 211...
211
 
211
 
212
            if (id != null && !id.isEmpty()) {
212
            if (id != null && !id.isEmpty()) {
213
                searchFilter.setTicketId(Long.parseLong(id));
213
                searchFilter.setTicketId(Long.parseLong(id));
214
            }
214
            }
215
 
215
 
-
 
216
            if (status != null && !status.isEmpty()) {
-
 
217
                searchFilter.setTicketStatus(TicketStatus.valueOf(status));
-
 
218
            }
-
 
219
 
-
 
220
            if (category != null && !category.isEmpty()) {
-
 
221
                searchFilter.setTicketCategory(TicketCategory.valueOf(category));
-
 
222
            }
-
 
223
 
216
            crmServiceClient         = new CRMClient().getClient();
224
            crmServiceClient         = new CRMClient().getClient();
217
            tickets = crmServiceClient.getTickets(searchFilter);
225
            tickets = crmServiceClient.getTickets(searchFilter);
218
        } catch (TException e) {
226
        } catch (TException e) {
219
            String errorString = "Error getting tickets for "
227
            String errorString = "Error getting tickets for "
220
                    + currentAgentEmailId;
228
                    + currentAgentEmailId;