bug-fix-patch

# Counting only authenticated user's notification
# Agents were not able to select canned resposne while replying
This commit is contained in:
Manish Verma
2016-12-19 15:47:17 +05:30
parent 7855ba7a97
commit 77c88cc229
2 changed files with 18 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ class NotificationController extends Controller
}, 'notification.model' => function ($query) {
$query->select('id', 'ticket_number');
},
]);
])->where('id', '=', \Auth::user()->id);
return $notifications;
}