-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#10189 Convert Queries to an Eloquent Model #10384
Conversation
45a02ff
to
7ae8d92
Compare
27a8cc4
to
411193d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good @kaitlinnewson. I just had a few questions and suggestions
classes/notification/managerDelegate/PKPEditingProductionStatusNotificationManager.php
Outdated
Show resolved
Hide resolved
@kaitlinnewson the PR looks good to me. 👍 I've added a few comments and suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kaitlinnewson I have added few comments, mostly suggestions/questions . Take a look and feel free to address those if you think it make sense . Otherwise this look good to me .
classes/notification/managerDelegate/PKPEditingProductionStatusNotificationManager.php
Outdated
Show resolved
Hide resolved
0fa4bc6
to
70a3fa1
Compare
@@ -58,14 +54,14 @@ public function getNotificationMessage(PKPRequest $request, Notification $notifi | |||
'noteTitle' => Str::limit($headNote->title, 200), | |||
]); | |||
case Notification::NOTIFICATION_TYPE_QUERY_ACTIVITY: | |||
$latestNote = Note::withAssoc(PKPApplication::ASSOC_TYPE_QUERY, $query->getAssocId()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch here.
No description provided.