Skip to content

Commit

Permalink
Show IP / username in history
Browse files Browse the repository at this point in the history
Closes #932
  • Loading branch information
theotherp committed Mar 25, 2024
1 parent ca807b4 commit f2136a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions core/src/main/resources/changelog.yaml
@@ -1,4 +1,9 @@
#@formatter:off
- version: "v5.4.0"
changes:
- type: "fix"
text: "IPs or usernames were not shown in the history. See #932"
final: true
- version: "v5.3.11"
date: "2024-03-23"
changes:
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/resources/static/js/nzbhydra.js
Expand Up @@ -10920,7 +10920,7 @@ function SearchHistoryController($scope, $state, SearchHistoryService, ConfigSer

var anyUsername = false;
var anyIp = false;
for (var request in $scope.searchRequests) {
for (var request of $scope.searchRequests) {
if (request.username) {
anyUsername = true;
}
Expand All @@ -10931,6 +10931,7 @@ function SearchHistoryController($scope, $state, SearchHistoryService, ConfigSer
break;
}
}

$scope.columnSizes = {
time: 10,
query: 30,
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/static/js/nzbhydra.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion core/ui-src/js/search-history-controller.js
Expand Up @@ -34,7 +34,7 @@ function SearchHistoryController($scope, $state, SearchHistoryService, ConfigSer

var anyUsername = false;
var anyIp = false;
for (var request in $scope.searchRequests) {
for (var request of $scope.searchRequests) {
if (request.username) {
anyUsername = true;
}
Expand All @@ -45,6 +45,7 @@ function SearchHistoryController($scope, $state, SearchHistoryService, ConfigSer
break;
}
}

$scope.columnSizes = {
time: 10,
query: 30,
Expand Down

0 comments on commit f2136a1

Please sign in to comment.