Skip to content

Commit

Permalink
Merge pull request #553 from DFID/fix-dept-page-bug
Browse files Browse the repository at this point in the history
Fixed the dept id issue.
  • Loading branch information
aunindadf authored Mar 6, 2022
2 parents 0925a76 + 72509b4 commit 661f209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@
redirect '/department'
end
settings.devtracker_page_title = ogds[dept_id]["name"]
query = deptIdentifier
query = "(" + deptIdentifier.gsub(","," OR ") + ")"
filters = prepareFilters(query.to_s, 'O')
response = solrResponse(query, 'AND activity_status_code:(2)', 'O', 0, '', '')
if(response['numFound'].to_i > 0)
Expand Down

0 comments on commit 661f209

Please sign in to comment.