mirror of
https://github.com/friendica/friendica
synced 2024-11-19 00:23:47 +00:00
Merge remote-tracking branch 'upstream/develop' into notice
This commit is contained in:
commit
b09f555f4f
2 changed files with 239 additions and 238 deletions
|
@ -2989,7 +2989,8 @@ class Contact
|
|||
$search .= '%';
|
||||
|
||||
$results = DBA::p("SELECT * FROM `contact`
|
||||
WHERE NOT `unsearchable` AND `network` IN (?, ?, ?, ?) AND
|
||||
WHERE (NOT `unsearchable` OR `nurl` IN (SELECT `nurl` FROM `owner-view` where `publish` OR `net-publish`))
|
||||
AND `network` IN (?, ?, ?, ?) AND
|
||||
NOT `failed` AND `uid` = ? AND
|
||||
(`addr` LIKE ? OR `name` LIKE ? OR `nick` LIKE ?) $extra_sql
|
||||
ORDER BY `nurl` DESC LIMIT 1000",
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue