mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Add tags without AS alias.
This commit is contained in:
parent
a5ebb19157
commit
8c71e1fb9a
@ -62,6 +62,8 @@
|
||||
$JsonMusicInfo = null;
|
||||
}
|
||||
|
||||
$TagList = explode('|', $TorrentDetails['GROUP_CONCAT(DISTINCT tags.Name SEPARATOR \'|\')']);
|
||||
|
||||
$JsonTorrentDetails = array(
|
||||
'wikiBody' => Text::full_format($TorrentDetails['WikiBody']),
|
||||
'wikiImage' => $TorrentDetails['WikiImage'],
|
||||
@ -76,7 +78,8 @@
|
||||
'time' => $TorrentDetails['Time'],
|
||||
'vanityHouse' => $TorrentDetails['VanityHouse'] == 1,
|
||||
'isBookmarked' => Bookmarks::has_bookmarked('torrent', $GroupID),
|
||||
'musicInfo' => $JsonMusicInfo
|
||||
'musicInfo' => $JsonMusicInfo,
|
||||
'tags' => $TagList
|
||||
);
|
||||
|
||||
$Torrent = $TorrentList[$TorrentID];
|
||||
|
@ -56,6 +56,8 @@
|
||||
$JsonMusicInfo = null;
|
||||
}
|
||||
|
||||
$TagList = explode('|', $TorrentDetails['GROUP_CONCAT(DISTINCT tags.Name SEPARATOR \'|\')']);
|
||||
|
||||
$JsonTorrentDetails = array(
|
||||
'wikiBody' => Text::full_format($TorrentDetails['WikiBody']),
|
||||
'wikiImage' => $TorrentDetails['WikiImage'],
|
||||
@ -70,7 +72,8 @@
|
||||
'time' => $TorrentDetails['Time'],
|
||||
'vanityHouse' => ($TorrentDetails['VanityHouse'] == 1),
|
||||
'isBookmarked' => Bookmarks::has_bookmarked('torrent', $GroupID),
|
||||
'musicInfo' => $JsonMusicInfo
|
||||
'musicInfo' => $JsonMusicInfo,
|
||||
'tags' => $TagList
|
||||
);
|
||||
|
||||
$JsonTorrentList = array();
|
||||
|
Loading…
Reference in New Issue
Block a user