diff --git a/CHANGES.md b/CHANGES.md
index 2569c1c..63d3882 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -88,6 +88,7 @@
* Add return paused "Only" to API
* Change Add shows/Search results first aired dates to UI date format setting
* Change improve the search progress text
+* Add "Size" filter '=0' in history view to filter already deleted media
[develop changelog]
diff --git a/gui/slick/interfaces/default/history.tmpl b/gui/slick/interfaces/default/history.tmpl
index 15eaada..fa37bbc 100644
--- a/gui/slick/interfaces/default/history.tmpl
+++ b/gui/slick/interfaces/default/history.tmpl
@@ -397,6 +397,7 @@
Event Date/Age, or Played: >7 and <60 (between 7d and 60d) , >1 (played more than once)
Label (Profile): emby or kodi , !kodi and !plex , emby user2 , emby user" (single end quote excludes user2)
Quality: sd or dl , blu
+ Size: =0 (deleted media) >321000000 (files greater than byte size)
diff --git a/gui/slick/js/history.js b/gui/slick/js/history.js
index a631a0b..1589ea0 100644
--- a/gui/slick/js/history.js
+++ b/gui/slick/js/history.js
@@ -68,7 +68,9 @@ $(document).ready(function() {
return $(node).find('span[data-sort]').attr('data-sort');
},
5: function(node) {
- return $(node).find('span[data-sort]').attr('data-sort');
+ return !!$(node).siblings('.tvShow').eq(0).find('.strike-deleted').length
+ ? 0
+ : $(node).find('span[data-sort]').attr('data-sort');
},
6: function (node) {
return $(node).find('input:checked').length;