Browse Source

Merge branch 'feature/ChangeSort' into develop

tags/release_0.25.1
JackDandy 4 years ago
parent
commit
9f28ee45d8
  1. 2
      gui/slick/interfaces/default/history.tmpl
  2. 5
      gui/slick/js/history.js

2
gui/slick/interfaces/default/history.tmpl

@ -397,7 +397,7 @@
<li>Event Date/Age, or Played: <span class="grey-text">&gt;7 and &lt;60</span> (between 7d and 60d) , <span class="grey-text">&gt;1</span> (played more than once)</li>
<li>Label (Profile): <span class="grey-text">emby or kodi</span> , <span class="grey-text">!kodi and !plex</span> , <span class="grey-text">emby user2</span> , <span class="grey-text">emby user"</span> (single end quote excludes user2)</li>
<li>Quality: <span class="grey-text">sd or dl</span> , <span class="grey-text">blu</span></li>
<li>Size: <span class="grey-text">=0</span> (deleted media) <span class="grey-text">>321000000</span> (files greater than byte size)</li>
<li>Size: <span class="grey-text"><0</span> (deleted media) <span class="grey-text">>321000000</span> (files greater than byte size)</li>
</ul>
</td>
</tr>

5
gui/slick/js/history.js

@ -68,9 +68,8 @@ $(document).ready(function() {
return $(node).find('span[data-sort]').attr('data-sort');
},
5: function(node) {
return !!$(node).siblings('.tvShow').eq(0).find('.strike-deleted').length
? 0
: $(node).find('span[data-sort]').attr('data-sort');
var value = parseInt($(node).find('span[data-sort]').attr('data-sort'), 10);
return !!$(node).siblings('.tvShow').eq(0).find('.strike-deleted').length ? 0 - value : value;
},
6: function (node) {
return $(node).find('input:checked').length;

Loading…
Cancel
Save