The story_editing branch looks up its credit type with CREDIT_TYPES[field], but
field was left over from the loop above so always 'letters' there. So a search
for stories someone edited returns the ones they lettered. issue_editing already
uses CREDIT_TYPES['editing'] — this matches it.
Tested with one creator credited as editor on one story and letterer on another:
before the change the search returns the lettered story, after it the edited one.
Test covers all six credit fields.
Screenshots are from seeded local data.
https://github.com/GrandComicsDatabase/gcd-django/pull/727
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@gemini-code-assist[bot] commented on this pull request.
This pull request fixes a bug in the advanced search functionality within apps/gcd/views/search.py by ensuring that the story filter correctly queries for the 'editing' credit type instead of using the generic 'field' variable. It also introduces a comprehensive test suite in apps/gcd/tests/test_search.py to verify that searches for various credit types (such as script, pencils, inks, colors, letters, and editing) correctly match only their respective credit types. No review comments were provided, so there is no additional feedback.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Thanks. I think we should integrate the story_editing into the above loop,
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()