mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-02 04:29:25 +01:00
feat(torrents): show sale status in torrent other torrents panel
This commit is contained in:
@@ -853,7 +853,7 @@
|
||||
<div class="torrent-filename text-long"><a
|
||||
ui-sref="torrents.view({torrentId: item._id})">{{item.torrent_filename}}</a></div>
|
||||
|
||||
<div class="list-all-tags">
|
||||
<div class="list-all-tags margin-top-10">
|
||||
<span ng-if="vm.torrentLocalInfo.resource_detail_info.release_date">
|
||||
<span class="label label-warning" ng-click="$event.stopPropagation();">
|
||||
{{ vm.torrentLocalInfo.resource_detail_info.release_date}}
|
||||
|
||||
@@ -1838,7 +1838,7 @@ exports.torrentByID = function (req, res, next, id) {
|
||||
|
||||
mtDebug.debugGreen(condition);
|
||||
|
||||
var fields = 'user maker torrent_filename torrent_tags torrent_seeds torrent_leechers torrent_finished torrent_seasons torrent_episodes torrent_size torrent_sale_status torrent_type torrent_hnr torrent_vip torrent_sale_expires createdat';
|
||||
var fields = 'user maker torrent_filename torrent_tags torrent_seeds torrent_leechers torrent_finished torrent_seasons torrent_episodes torrent_size torrent_sale_status torrent_type torrent_hnr isSaling torrent_vip torrent_sale_expires createdat';
|
||||
|
||||
Torrent.find(condition, fields)
|
||||
.sort('-createdat')
|
||||
|
||||
Reference in New Issue
Block a user