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

WCM-527: add content query fields print-volume, -year and -ressort #910

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

stollero
Copy link
Contributor

@stollero stollero commented Nov 14, 2024

Checklist

  • Documentation
  • Changelog
  • Tests
  • Translations

gif

@stollero stollero marked this pull request as ready for review November 14, 2024 14:07
Copy link
Member

@wosc wosc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An sich super, ich habe eine Konsistenzbitte.

core/src/zeit/contentquery/interfaces.py Outdated Show resolved Hide resolved
core/src/zeit/content/cp/tests/test_automatic.py Outdated Show resolved Hide resolved
content_type = zope.schema.Choice(
title=_('Content type'), source=zeit.cms.content.sources.CMSContentTypeSource()
)
print_ressort = zope.schema.Choice(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Rücksprache mit Sonja wählen wir hier nun doch ein Textfeld um historische Daten zu unterstützen. Sonst würde die Dropdown Box automatisch auf den ersten Eintrag springen, wenn ein Wert unbekannt ist und eine Person was händisch an einer älteren Ausgabenseite macht (warum auch immer).

keep consistent naming for variables
reason: we need to support historical data and if we use a dropdown and somebody checks out a historical print volume the field jumps to the first entry changing the historical value to a wrong one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants