';
}
break;
+ case "LockDataImage":
+ if (rRow.HasLockData) {
+ html += '';
+ }
+ break;
+ case "UnidentifiedImage":
+ if (rRow.IsUnidentified) {
+ html += '
';
+ }
+ break;
+ case "TagsPrimaryImage":
+ if (!rRow.HasImageTagsPrimary) {
+ html += '';
+ }
+ break;
+ case "TagsBackdropImage":
+ if (!rRow.HasImageTagsBackdrop) {
+ if (rRow.RowType !== "Episode" && rRow.RowType !== "Season" && rRow.MediaType !== "Audio" && rRow.RowType !== "TvChannel" && rRow.RowType !== "MusicAlbum") {
+ html += '';
+ }
+ }
+ break;
+ case "TagsLogoImage":
+ if (!rRow.HasImageTagsLogo) {
+ if (rRow.RowType === "Movie" || rRow.RowType === "Trailer" || rRow.RowType === "Series" || rRow.RowType === "MusicArtist" || rRow.RowType === "BoxSet") {
+ html += '';
+ }
+ }
+ break;
+ case "UserPrimaryImage":
+ if (rRow.UserId) {
+ var userImage = ApiClient.getUserImageUrl(rRow.UserId, {
+ height: 24,
+ type: 'Primary'
+
+ });
+ if (userImage) {
+ html += '';
+ } else {
+ html += '';
+ }
+ }
+ break;
case "StatusImage":
if (rRow.HasLockData) {
html += '';
@@ -226,7 +272,6 @@
var url = ApiClient.getUrl("Reports/Items/Download", query);
if (url) {
- e.preventDefault(); //stop the browser from following
window.location.href = url;
}
}
@@ -244,7 +289,7 @@
$('#selectReportGroup', page).append('');
result.map(function (header) {
- if (header.Visible && header.CanGroup) {
+ if ((header.DisplayType === "Screen" || header.DisplayType === "ScreenExport") && header.CanGroup) {
if (header.FieldName.length > 0) {
var option = '';
$('#selectReportGroup', page).append(option);
@@ -479,7 +524,6 @@
var filtersLoaded;
function reloadFiltersIfNeeded(page) {
-
if (!filtersLoaded) {
filtersLoaded = true;
@@ -1023,7 +1067,7 @@
var delimiter = '|';
result.map(function (item) {
- if (item.Visible)
+ if ((item.DisplayType === "Screen" || item.DisplayType === "ScreenExport"))
filters = filters ? (filters + delimiter + item.FieldName) : item.FieldName;
});
if (!itemQuery.ReportColumns)
diff --git a/dashboard-ui/strings/html/server.json b/dashboard-ui/strings/html/server.json
index 28e4c946c3..98f86e3b5f 100644
--- a/dashboard-ui/strings/html/server.json
+++ b/dashboard-ui/strings/html/server.json
@@ -1494,5 +1494,11 @@
"ImportFavoriteChannelsHelp": "If enabled, only channels that are marked as favorite on the tuner device will be imported.",
"ButtonRepeat": "Repeat",
"LabelEnableThisTuner": "Enable this tuner",
- "LabelEnableThisTunerHelp": "Uncheck to prevent importing channels from this tuner."
+ "LabelEnableThisTunerHelp": "Uncheck to prevent importing channels from this tuner.",
+ "HeaderLocked": "Locked",
+ "HeaderUnidentified": "Unidentified",
+ "HeaderImagePrimary": "Primary",
+ "HeaderImageBackdrop": "Backdrop",
+ "HeaderImageLogo": "Logo",
+ "HeaderUserPrimaryImage": "User Image"
}