Skip to content

Commit

Permalink
Fix project selection only using active calendars
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Nov 14, 2023
1 parent 6325852 commit 436e9ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3102,7 +3102,10 @@ en:

help_texts:
views:
project: "%{plural} are always attached to a project. After creating a %{singular} you can add work packages from other projects to it."
project: >
%{plural} are always attached to a project.
You can only select projects here where the %{plural} module is active.
After creating a %{singular} you can add work packages from other projects to it.
public: "Publish this view, allowing other users to access your view. Users with the 'Manage public views' permission can modify or remove public query. This does not affect the visibility of work package results in that view and depending on their permissions, users may see different results."
favoured: "Mark this view as favourite and add to the saved views sidebar on the left."
time:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field-container">
<%= angular_component_tag 'opce-project-autocompleter',
inputs: {
apiFilters: [['user_action', '=', ['calendars/create']]],
filters: [{ name: :user_action, operator: '=', values: ['calendars/create'] }],
inputName: 'project_id',
inputValue: @project&.id,
appendTo: 'body',
Expand Down

0 comments on commit 436e9ad

Please sign in to comment.