summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 22:47:49 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 22:47:49 +0800
commit5567338ace1f591c6a0e7a54da0cf15667e3b462 (patch)
treeb86d65b633d89046f57ab3265a5eac0f8f4e059e /client.cxx
parentb628ffd96ce55f2fab838b4c9626dde873370ed1 (diff)
Ticket history long format can be set
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx4
1 files changed, 2 insertions, 2 deletions
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);
}