Metron-Project / metron

Django website for a comic book database
https://metron.cloud/
GNU General Public License v3.0
100 stars 7 forks source link

series_list returns 'display_name' instead of 'name' for Series objects #181

Open themadman0980 opened 1 year ago

themadman0980 commented 1 year ago

Describe the bug When running a series_list search through mokkari, I'm getting results with a 'display_name' field instead of just 'name'. From what I can see, this includes the series start year in the name.

Expected behavior It would be much nicer if the name field was returned without including a start year in brackets. The 'year_began' field already contains this information, and it makes name matching much more tedious when I have to first clean up the title before processing.

Screenshot 2023-10-04 at 2 16 04 pm

Extra Information This seems to be a limitation of the API, not mokkari. When testing on the API page, you can see similar results for every Series object.

Screenshot 2023-10-04 at 2 25 34 pm