Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
themadman0980 opened this issue Oct 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@themadman0980
Copy link

themadman0980 commented Oct 4, 2023

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
@themadman0980 themadman0980 added the bug Something isn't working label Oct 4, 2023
@themadman0980 themadman0980 changed the title series_list returns 'preferred_name' instead of 'name' for Series objects series_list returns 'display_name' instead of 'name' for Series objects Oct 4, 2023
@themadman0980
Copy link
Author

Recreated bug report on Metron page as this is API related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants