Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 726891800654
Choose a base ref
...
head repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 748c4cec6457
Choose a head ref
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Dec 12, 2012

  1. Show all users in assign filter when ALL PROJECTS is selected

    Fixes #10130
    
    Signed-off-by: Damien Regad <damien.regad@merckgroup.com>
    JGuilbaud authored and dregad committed Dec 12, 2012

    Verified

    This commit was signed with the committer’s verified signature.
    Doctor-wu Doctor Wu
    Copy the full SHA
    21746dd View commit details

Commits on Dec 13, 2012

  1. Optimise code in print_user_option_list()

    Improve performance of code building the list of users for all projects
    introduced in commit 21746dd.
    
    By using an associative array, the foreach loop to remove duplicates can
    be simplified (no need for an if statement) and we can also remove the
    current user from the list more easily.
    
    Affects issue #10130
    dregad committed Dec 13, 2012
    Copy the full SHA
    dab0021 View commit details
  2. Removing current user from list built by print_user_option_list()

    Since there is a [myself] value in the list, the current user should be
    removed. This was done for ALL_PROJECTS with the fix for issue #10130,
    but the single-project code still listed the current user.
    
    By moving the code to remove the current user to the foreach loop that
    builds the sort arrays, we ensure that it is removed in both cases.
    dregad committed Dec 13, 2012
    2
    Copy the full SHA
    748c4ce View commit details
Loading