mirror of
https://github.com/friendica/friendica
synced 2025-02-13 12:19:18 +00:00
Exclude invitation register rows from pending-view
↪ They were wrongly appearing in the moderation screen and in the notifications
This commit is contained in:
parent
5a00a2c441
commit
e3a2c70ccb
2 changed files with 4 additions and 2 deletions
|
@ -3809,7 +3809,8 @@ CREATE VIEW `pending-view` AS SELECT
|
||||||
`contact`.`nick` AS `nick`
|
`contact`.`nick` AS `nick`
|
||||||
FROM `register`
|
FROM `register`
|
||||||
INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid`
|
INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid`
|
||||||
INNER JOIN `user` ON `register`.`uid` = `user`.`uid`;
|
INNER JOIN `user` ON `register`.`uid` = `user`.`uid`
|
||||||
|
WHERE `register`.`uid` != 0;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- VIEW tag-search-view
|
-- VIEW tag-search-view
|
||||||
|
|
|
@ -1763,7 +1763,8 @@ return [
|
||||||
],
|
],
|
||||||
"query" => "FROM `register`
|
"query" => "FROM `register`
|
||||||
INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid`
|
INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid`
|
||||||
INNER JOIN `user` ON `register`.`uid` = `user`.`uid`"
|
INNER JOIN `user` ON `register`.`uid` = `user`.`uid`
|
||||||
|
WHERE `register`.`uid` != 0"
|
||||||
],
|
],
|
||||||
"tag-search-view" => [
|
"tag-search-view" => [
|
||||||
"fields" => [
|
"fields" => [
|
||||||
|
|
Loading…
Add table
Reference in a new issue