Added sorting to msgs sub and added some styling for messaging items. BOD-309 BOD-310
This commit is contained in:
@@ -2,7 +2,7 @@ import gql from "graphql-tag";
|
||||
|
||||
export const CONVERSATION_LIST_SUBSCRIPTION = gql`
|
||||
subscription CONVERSATION_LIST_SUBSCRIPTION {
|
||||
conversations {
|
||||
conversations(order_by: { updated_at: desc }, limit: 100) {
|
||||
phone_num
|
||||
id
|
||||
job_conversations {
|
||||
|
||||
@@ -711,7 +711,7 @@ export const SEARCH_JOBS_BY_ID_FOR_AUTOCOMPLETE = gql`
|
||||
|
||||
export const SEARCH_FOR_JOBS = gql`
|
||||
query SEARCH_FOR_JOBS($search: String!) {
|
||||
jobs(where: { ro_number: { _ilike: $search } }) {
|
||||
search_jobs(args: { search: $search }) {
|
||||
id
|
||||
ro_number
|
||||
ownr_fn
|
||||
|
||||
Reference in New Issue
Block a user