index error
Closed this issue · 0 comments
qunabu commented
https://api-stage.escolalms.com/api/admin/hh5p/content?pageSize=20¤t=1&per_page=20&page=1
message: "SQLSTATE[42702]: Ambiguous column: 7 ERROR: column reference \"id\" is ambiguous\nLINE 1: ...elect count(*) as aggregate from (select \"title\", \"id\", \"lib...\n ^ (SQL: select count(*) as aggregate from (select \"title\", \"id\", \"library_id\", COUNT(topic_h5ps.value) as count_h5p from \"hh5p_contents\" left join \"topic_h5ps\" on (\"topic_h5ps\".\"value\" = \"hh5p_contents\".\"id\") group by \"hh5p_contents\".\"id\") as \"aggregate_table\")"