Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • aoz-003 aoz-003
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • open-source
  • aoz-003aoz-003
  • Merge requests
  • !656

WIP: Resolve "Assignment active? method is not the same as filter result"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Kaspar Vollenweider requested to merge 392-assignment-active-method-is-not-the-same-as-filter-result into develop May 08, 2018
  • Overview 1
  • Commits 0
  • Pipelines 1
  • Changes 0

Closes #392 (closed)

reasons

  • The index views active filter uses the scope active_or_not_yet_active
    • So the scope filters for assignments that are not returning true on assignment.active? beeing used within the assignment_status_badge helper

So this is rather a inconsistency between filter and view logic.

Description

https://trello.com/c/ZFfaGbLX/99-1h-filter-aktiv-inaktiv-funktioniert-nicht

https://staging.aoz-freiwillige.ch/assignments?q%5Bactive_or_not_yet_active%5D=true

The following inactive Assignement is shown: https://staging.aoz-freiwillige.ch/assignments/913/edit

ActiveInactiveBadgeIsWrong

Edited May 08, 2018 by Kaspar Vollenweider
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 392-assignment-active-method-is-not-the-same-as-filter-result