Return category's ID as well.
This commit is contained in:
parent
de8f042019
commit
9248950255
@ -1,5 +1,6 @@
|
|||||||
SELECT
|
SELECT
|
||||||
`post`.`post_id`,
|
`post`.`post_id`,
|
||||||
|
`category`.`id` AS `category_id`,
|
||||||
`category`.`name` AS `category`,
|
`category`.`name` AS `category`,
|
||||||
`post`.`date`,
|
`post`.`date`,
|
||||||
`post`.`title`,
|
`post`.`title`,
|
||||||
|
Loading…
Reference in New Issue
Block a user