From 156f8f37517c8469442c1aa9b6fef4757516f788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 2 Oct 2019 12:51:44 +0800 Subject: Ticket history function takes format argument --- client.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client.cxx') diff --git a/client.cxx b/client.cxx index b91c10b..d2097aa 100644 --- a/client.cxx +++ b/client.cxx @@ -124,7 +124,8 @@ namespace RTClient { void Client::ticketHistory(int id) { rtclient_ticket_history_list* historyList = nullptr; - rtclient_ticket_history(&historyList, id); + rtclient_ticket_history(&historyList, id + , RTCLIENT_TICKET_RESULT_FORMAT_L); emit gotTicketHistory(historyList); } -- cgit v1.2.3 From b3b08cf3beb03b3133a5925fdd6384765dcb6409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 2 Oct 2019 14:15:44 +0800 Subject: No result namespace --- client.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.cxx') diff --git a/client.cxx b/client.cxx index d2097aa..a887c76 100644 --- a/client.cxx +++ b/client.cxx @@ -125,7 +125,7 @@ namespace RTClient { { rtclient_ticket_history_list* historyList = nullptr; rtclient_ticket_history(&historyList, id - , RTCLIENT_TICKET_RESULT_FORMAT_L); + , RTCLIENT_TICKET_FORMAT_L); emit gotTicketHistory(historyList); } -- cgit v1.2.3 From 9d7fc8def01999e5d1ed2d56ebd21d05ec6432a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 2 Oct 2019 14:35:21 +0800 Subject: There are only 2 formats for ticket history return --- client.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client.cxx') diff --git a/client.cxx b/client.cxx index a887c76..2dbf761 100644 --- a/client.cxx +++ b/client.cxx @@ -124,8 +124,7 @@ namespace RTClient { void Client::ticketHistory(int id) { rtclient_ticket_history_list* historyList = nullptr; - rtclient_ticket_history(&historyList, id - , RTCLIENT_TICKET_FORMAT_L); + rtclient_ticket_history(&historyList, id, true); emit gotTicketHistory(historyList); } -- cgit v1.2.3 From 5567338ace1f591c6a0e7a54da0cf15667e3b462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 2 Oct 2019 22:47:49 +0800 Subject: Ticket history long format can be set --- client.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.cxx') diff --git a/client.cxx b/client.cxx index 2dbf761..6711461 100644 --- a/client.cxx +++ b/client.cxx @@ -121,10 +121,10 @@ namespace RTClient { emit searchedTicket(ticketList); } - void Client::ticketHistory(int id) + void Client::ticketHistory(int id, bool longFormat) { rtclient_ticket_history_list* historyList = nullptr; - rtclient_ticket_history(&historyList, id, true); + rtclient_ticket_history(&historyList, id, longFormat); emit gotTicketHistory(historyList); } -- cgit v1.2.3