sforkowany z mirror/friendica
Test: Possibly fixing failed test
rodzic
bd91bb21b9
commit
562e6b3f3e
|
@ -1631,15 +1631,15 @@ CREATE VIEW `post-view` AS SELECT
|
||||||
STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
|
STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
|
||||||
STRAIGHT_JOIN `contact` AS `author` ON `author`.`id` = `item`.`author-id`
|
STRAIGHT_JOIN `contact` AS `author` ON `author`.`id` = `item`.`author-id`
|
||||||
STRAIGHT_JOIN `contact` AS `owner` ON `owner`.`id` = `item`.`owner-id`
|
STRAIGHT_JOIN `contact` AS `owner` ON `owner`.`id` = `item`.`owner-id`
|
||||||
STRAIGHT_JOIN `contact` AS `causer` ON `causer`.`id` = `item`.`causer-id`
|
LEFT JOIN `contact` AS `causer` ON `causer`.`id` = `item`.`causer-id`
|
||||||
LEFT JOIN `verb` ON `verb`.`id` = `item`.`vid`
|
LEFT JOIN `verb` ON `verb`.`id` = `item`.`vid`
|
||||||
LEFT JOIN `event` ON `event`.`id` = `item`.`event-id`
|
LEFT JOIN `event` ON `event`.`id` = `item`.`event-id`
|
||||||
LEFT JOIN `diaspora-interaction` ON `diaspora-interaction`.`uri-id` = `item`.`uri-id`
|
LEFT JOIN `diaspora-interaction` ON `diaspora-interaction`.`uri-id` = `item`.`uri-id`
|
||||||
LEFT JOIN `item-content` ON `item-content`.`uri-id` = `item`.`uri-id`
|
LEFT JOIN `item-content` ON `item-content`.`uri-id` = `item`.`uri-id`
|
||||||
LEFT JOIN `post-delivery-data` ON `post-delivery-data`.`uri-id` = `item`.`uri-id` AND `item`.`origin`
|
LEFT JOIN `post-delivery-data` ON `post-delivery-data`.`uri-id` = `item`.`uri-id` AND `item`.`origin`
|
||||||
LEFT JOIN `permissionset` ON `permissionset`.`id` = `item`.`psid`
|
LEFT JOIN `permissionset` ON `permissionset`.`id` = `item`.`psid`
|
||||||
STRAIGHT_JOIN `item` AS `parent-item` ON `parent-item`.`id` = `item`.`parent`
|
LEFT JOIN `item` AS `parent-item` ON `parent-item`.`id` = `item`.`parent`
|
||||||
STRAIGHT_JOIN `contact` AS `parent-item-author` ON `parent-item-author`.`id` = `parent-item`.`author-id`;
|
LEFT JOIN `contact` AS `parent-item-author` ON `parent-item-author`.`id` = `parent-item`.`author-id`;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- VIEW category-view
|
-- VIEW category-view
|
||||||
|
|
|
@ -178,15 +178,15 @@
|
||||||
STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
|
STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
|
||||||
STRAIGHT_JOIN `contact` AS `author` ON `author`.`id` = `item`.`author-id`
|
STRAIGHT_JOIN `contact` AS `author` ON `author`.`id` = `item`.`author-id`
|
||||||
STRAIGHT_JOIN `contact` AS `owner` ON `owner`.`id` = `item`.`owner-id`
|
STRAIGHT_JOIN `contact` AS `owner` ON `owner`.`id` = `item`.`owner-id`
|
||||||
STRAIGHT_JOIN `contact` AS `causer` ON `causer`.`id` = `item`.`causer-id`
|
LEFT JOIN `contact` AS `causer` ON `causer`.`id` = `item`.`causer-id`
|
||||||
LEFT JOIN `verb` ON `verb`.`id` = `item`.`vid`
|
LEFT JOIN `verb` ON `verb`.`id` = `item`.`vid`
|
||||||
LEFT JOIN `event` ON `event`.`id` = `item`.`event-id`
|
LEFT JOIN `event` ON `event`.`id` = `item`.`event-id`
|
||||||
LEFT JOIN `diaspora-interaction` ON `diaspora-interaction`.`uri-id` = `item`.`uri-id`
|
LEFT JOIN `diaspora-interaction` ON `diaspora-interaction`.`uri-id` = `item`.`uri-id`
|
||||||
LEFT JOIN `item-content` ON `item-content`.`uri-id` = `item`.`uri-id`
|
LEFT JOIN `item-content` ON `item-content`.`uri-id` = `item`.`uri-id`
|
||||||
LEFT JOIN `post-delivery-data` ON `post-delivery-data`.`uri-id` = `item`.`uri-id` AND `item`.`origin`
|
LEFT JOIN `post-delivery-data` ON `post-delivery-data`.`uri-id` = `item`.`uri-id` AND `item`.`origin`
|
||||||
LEFT JOIN `permissionset` ON `permissionset`.`id` = `item`.`psid`
|
LEFT JOIN `permissionset` ON `permissionset`.`id` = `item`.`psid`
|
||||||
STRAIGHT_JOIN `item` AS `parent-item` ON `parent-item`.`id` = `item`.`parent`
|
LEFT JOIN `item` AS `parent-item` ON `parent-item`.`id` = `item`.`parent`
|
||||||
STRAIGHT_JOIN `contact` AS `parent-item-author` ON `parent-item-author`.`id` = `parent-item`.`author-id`"
|
LEFT JOIN `contact` AS `parent-item-author` ON `parent-item-author`.`id` = `parent-item`.`author-id`"
|
||||||
],
|
],
|
||||||
"category-view" => [
|
"category-view" => [
|
||||||
"fields" => [
|
"fields" => [
|
||||||
|
|
Ładowanie…
Reference in New Issue