mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-13 14:28:40 +00:00
undo serialize deprecation and switch to installExternal api calls
This commit is contained in:
parent
321b50ae58
commit
fbf3f117fb
|
|
@ -55,7 +55,7 @@ final class QAHelperMapper extends DataMapperFactory
|
||||||
$answerScore = $query->select('qa_answer_vote_created_for')
|
$answerScore = $query->select('qa_answer_vote_created_for')
|
||||||
->selectAs('SUM(qa_answer_vote_score)', 'score')
|
->selectAs('SUM(qa_answer_vote_score)', 'score')
|
||||||
->from(QAAnswerVoteMapper::TABLE)
|
->from(QAAnswerVoteMapper::TABLE)
|
||||||
->where(QAAnswerMapper::TABLE . '.qa_answer_vote_created_for', 'in', $accounts)
|
->where(QAAnswerVoteMapper::TABLE . '.qa_answer_vote_created_for', 'in', $accounts)
|
||||||
->groupBy('qa_answer_vote_created_for')
|
->groupBy('qa_answer_vote_created_for')
|
||||||
->execute()
|
->execute()
|
||||||
->fetchAll();
|
->fetchAll();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user