Patch #35396

Use base_scope for issue query results

Added by Alexander Meindl 4 days ago. Updated 4 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Code cleanup/refactoring
Target version:Candidate for next major release

Description

This is some refactoring, which drops redundant definition of query scope. With this change, base_scope is used for issues.

Second advantage is, plugin developer can overwrite base_scope to include more features (e.g. for search filter).

There are no downsides with it.

issues_with_base_scope.patch Magnifier (550 Bytes) Alexander Meindl, 2021-06-10 18:59

issues_with_base_scope_v2.patch Magnifier (938 Bytes) Alexander Meindl, 2021-06-10 19:06

History

#1 Updated by Alexander Meindl 4 days ago

I created a second patch, which also uses base_scope for issue_ids.

#2 Updated by Go MAEDA 4 days ago

  • Category changed from Issues list to Code cleanup/refactoring
  • Target version set to Candidate for next major release

IssueQuery#base_scope was added in r14642. I think the proposed changes should have been included in r14642.

Also available in: Atom PDF