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

Added sentiment ordering and include for posts #15657

Merged
merged 1 commit into from
Oct 19, 2022

Commits on Oct 19, 2022

  1. Added sentiment ordering and include for posts

    fixes https://github.com/TryGhost/Team/issues/2090
    
    - This changes how sentiment is exposed in the API. Now it is exposed as a `sentiment` relation, directly on the model (no longer in counts). Internally we still use `count.sentiment`.
    - Content API users (and themes) can include the 'sentiment' relation and order by sentiment.
    - Updated Admin to use sentiment instead of count.sentiment
    - Test theme: https://github.com/tryghost/casper/tree/audience-feedback
    SimonBackx committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    156be8e View commit details
    Browse the repository at this point in the history