[GrandComicsDatabase/gcd-django] fix(gcd): use editing credit type in advanced story search (PR #727)

2 views
Skip to first unread message

Josef Andersson

unread,
Jul 15, 2026, 2:41:29 PM (5 days ago) Jul 15
to GrandComicsDatabase/gcd-django, Subscribed

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.


You can view, comment on, or merge this pull request online at:

  https://github.com/GrandComicsDatabase/gcd-django/pull/727

Commit Summary

  • 2256fa1 fix(gcd): use editing credit type in advanced story search

File Changes

(2 files)

Patch Links:


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.Message ID: <GrandComicsDatabase/gcd-django/pull/727@github.com>

gemini-code-assist[bot]

unread,
Jul 15, 2026, 2:42:24 PM (5 days ago) Jul 15
to GrandComicsDatabase/gcd-django, Subscribed

@gemini-code-assist[bot] commented on this pull request.

Code Review

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.Message ID: <GrandComicsDatabase/gcd-django/pull/727/review/4707159535@github.com>

Josef Andersson

unread,
Jul 15, 2026, 2:43:18 PM (5 days ago) Jul 15
to GrandComicsDatabase/gcd-django, Subscribed
janderssonse left a comment (GrandComicsDatabase/gcd-django#727)
2-after-returns-edited-story.png (view on web) 1-before-returns-lettered-story.png (view on web)


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.Message ID: <GrandComicsDatabase/gcd-django/pull/727/c4984128142@github.com>

JochenGCD

unread,
Jul 15, 2026, 4:28:24 PM (5 days ago) Jul 15
to GrandComicsDatabase/gcd-django, Subscribed
jochengcd left a comment (GrandComicsDatabase/gcd-django#727)

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.Message ID: <GrandComicsDatabase/gcd-django/pull/727/c4984982016@github.com>

JochenGCD

unread,
Jul 15, 2026, 4:28:31 PM (5 days ago) Jul 15
to GrandComicsDatabase/gcd-django, Subscribed

Merged #727 into beta.


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.Message ID: <GrandComicsDatabase/gcd-django/pull/727/issue_event/28036158473@github.com>

Reply all
Reply to author
Forward
0 new messages