Skip to content

Commit

Permalink
[issue_tracker] Include all sites in dropdown for issue tracker (#6135)
Browse files Browse the repository at this point in the history
The issue tracker currently limits the dropdown to non-DCC study sites.
When entering a PSCID from a site such as the DCC, this means that there
is an (unresolvable) error about the PSCID and CenterID not matching,
because the candidate's site doesn't exist in the dropdown. This
updates the issue tracker to display all sites.
  • Loading branch information
driusan authored Mar 23, 2020
1 parent 45c08e9 commit b3b45a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ database (PR #5260)
- Fix bug where examiner form field was incorrectly hidden (PR #6085)

### Modules

#### Candidate Profile
- New module created to provide dashboard of a single candidate's data across all
modules. (Various PRs)

##### Issue Tracker
- The issue_tracker module now has the feature of uploading attachments to new or existing issues.
- All sites now appear in the dropdown for site, not only study sites. (PR #6135)


#### Battery Manager
- New module created to manage the entries in the `test_battery` table of the database.
This allows projects to modify their instrument battery without requiring backend access.
Expand Down
2 changes: 1 addition & 1 deletion modules/issue_tracker/ajax/EditIssue.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ function getIssueFields()
//get field options
if ($user->hasPermission('access_all_profiles')) {
// get the list of study sites - to be replaced by the Site object
$sites = Utility::getSiteList();
$sites = Utility::getSiteList(false, true);
} else {
// allow only to view own site data
$sites = $user->getStudySites();
Expand Down

0 comments on commit b3b45a6

Please sign in to comment.