django-daiquiri / daiquiri

A framework for the publication of scientific databases
https://escience.aip.de/daiquiri
Apache License 2.0
26 stars 8 forks source link

fix search fields for djago admin #116

Closed kimakan closed 1 year ago

kimakan commented 1 year ago

Problem: the search for some models (e.g., DownloadJobs) in Django Admin didn't work (internal server error).

Bug: the search fields didn't match the fields of the corresponding model. In some models __str__ was used as a search field which doesn't seem to work.

Fix: changed the search_field accordingly to match the corresponding model

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3600793026


Totals Coverage Status
Change from base Build 3513124880: 0.0%
Covered Lines: 4598
Relevant Lines: 6979

💛 - Coveralls
agy-why commented 1 year ago

closes #52