Skip to content

Commit

Permalink
🔧(admin) allow to search the job uuid in the admin
Browse files Browse the repository at this point in the history
Searching a job in the admin on the UUID is not allowed and most of the
time it is the only information we have in a log to find it. We allow to
search on it.
  • Loading branch information
lunika committed Oct 8, 2024
1 parent aaef4f1 commit ff0945c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ and this project adheres to

## [Unreleased]

### Added

- Allow to search the job uuid in the admin

### Fixed

- Fix concurrency when runners accepts the same job


## [0.8.0] - 2024-09-05

### Added
Expand Down Expand Up @@ -94,4 +99,4 @@ and this project adheres to
[0.3.1]: https://github.com/openfun/django-peertube-runner-connector/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/openfun/django-peertube-runner-connector/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/openfun/django-peertube-runner-connector/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/openfun/django-peertube-runner-connector/compare/9e5f8ab06a66d500614003ac0cbf0bb874304de0...v0.1.0
[0.1.0]: https://github.com/openfun/django-peertube-runner-connector/compare/9e5f8ab06a66d500614003ac0cbf0bb874304de0...v0.1.0
2 changes: 1 addition & 1 deletion src/django_peertube_runner_connector/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class RunnerJobAdmin(admin.ModelAdmin):
"updatedAt",
)

search_fields = ("type", "state")
search_fields = ("type", "state", "uuid")
list_filter = ("type", "state")


Expand Down

0 comments on commit ff0945c

Please sign in to comment.