mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
order all hubloc queries by hubloc_id desc
This commit is contained in:
parent
c6205c5d5f
commit
8d5a10ead9
1 changed files with 3 additions and 3 deletions
|
@ -4759,15 +4759,15 @@ class Activity
|
|||
|
||||
return match (trim($options_arr[0])) {
|
||||
'activitypub' => q(
|
||||
"select * from hubloc left join xchan on hubloc_hash = xchan_hash where hubloc_hash = '%s' $sql_options ",
|
||||
"select * from hubloc left join xchan on hubloc_hash = xchan_hash where hubloc_hash = '%s' $sql_options order by hubloc_id DESC ",
|
||||
dbesc($url)
|
||||
),
|
||||
'zot6', 'nomad' => q(
|
||||
"select * from hubloc left join xchan on hubloc_hash = xchan_hash where hubloc_id_url = '%s' $sql_options ",
|
||||
"select * from hubloc left join xchan on hubloc_hash = xchan_hash where hubloc_id_url = '%s' $sql_options order by hubloc_id DESC ",
|
||||
dbesc($url)
|
||||
),
|
||||
default => q(
|
||||
"select * from hubloc left join xchan on hubloc_hash = xchan_hash where ( hubloc_id_url = '%s' OR hubloc_hash = '%s' ) $sql_options ",
|
||||
"select * from hubloc left join xchan on hubloc_hash = xchan_hash where ( hubloc_id_url = '%s' OR hubloc_hash = '%s' ) $sql_options order by hubloc_id DESC ",
|
||||
dbesc($url),
|
||||
dbesc($url)
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue