Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
K
kohinos-tav
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • agplv3
  • kohinos-tav
  • Merge Requests
  • !94

Merged
Opened May 06, 2024 by Yvon Kerdoncuff@Yvon 
  • Report abuse
Report abuse

6173 export adherent with numero anonymisation

  • Discussion 2
  • Commits 1
  • Changes 2
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Damien Moulard
    @DamienM started a discussion on the diff May 07, 2024
    Resolved by Damien Moulard May 07, 2024
    src/Admin/AdherentAdmin.php
    642 653 }
    643 654
    655 public function getAnynomousTokenFilter($queryBuilder, $alias, $field, $value)
    656 {
    657 if (!$value['value']) {
    658 return false;
    659 }
    660
    661 $container = $this->getConfigurationPool()->getContainer();
    662 $em = $container->get('doctrine.orm.entity_manager');
    663 $expr = $em->getExpressionBuilder();
    664
    665 // Use `andWhere` instead of `where` to prevent overriding existing `where` conditions
    666 if ($value["value"]) {
    667 $queryBuilder->andWhere(
    668 '(' . $alias . '.anonymousToken is not null and ' . $alias . '.anonymousToken != false)'
    • Damien Moulard @DamienM commented May 07, 2024
      Master

      à priori on peut enlever le != false, vu que c'était une erreur ?

      à priori on peut enlever le != false, vu que c'était une erreur ?
    • Damien Moulard @DamienM commented May 07, 2024
      Master

      ça peut aussi valoir le coup de le laisser au cas où

      Edited May 07, 2024 by Damien Moulard
      ça peut aussi valoir le coup de le laisser au cas où
    Please register or sign in to reply
  • Damien Moulard @DamienM

    merged

    May 07, 2024

    merged

    merged
    Toggle commit list
  • Damien Moulard @DamienM

    mentioned in commit fdd31ac6

    May 07, 2024

    mentioned in commit fdd31ac6

    mentioned in commit fdd31ac6b201dc1487814173fa69d78c067bccab
    Toggle commit list
  • Damien Moulard @DamienM

    resolved all discussions

    May 07, 2024

    resolved all discussions

    resolved all discussions
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: agplv3/kohinos-tav!94
×

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.