TT#26651 Implement the list in opposite order

What has been done:
- TT#226651, Conversations: User wants to see the list in opposite order
- Remove date from conversation collapsible body

Change-Id: I8eeb6edb9773b784c9b2d034c13d4e4a01e7cb2d
changes/81/17381/3
raxelsen 8 years ago
parent 582ccf64b7
commit 77c5af28ce

@ -4,7 +4,8 @@ import _ from 'lodash';
import { getJsonBody } from './utils'
export function getConversations(id, page, rows) {
let params = { subscriber_id: id, page: page, rows: rows };
let params = { subscriber_id: id, page: page, rows: rows,
order_by: 'timestamp', order_by_direction: 'desc' };
return new Promise((resolve, reject) => {
Vue.http.get('/api/conversations/', { params: params })
.then(result => {

@ -9,9 +9,6 @@
:sublabel="conversation.start_time | readableDate">
<div v-if="isCall(conversation.type) || isVoicemail(conversation.type)">
<ul>
<li><strong>
{{ $t('pages.conversations.card.date') }}:
</strong> {{ conversation.start_time }}</li>
<li>
<strong>
{{ $t('pages.conversations.card.duration') }}:

Loading…
Cancel
Save