Project

General

Profile

Actions

Patch #35396

closed

Use base_scope for issue query results

Patch #35396: Use base_scope for issue query results

Added by Alexander Meindl over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:

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.


Files

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

Updated by Alexander Meindl over 5 years ago Actions #1

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

Updated by Go MAEDA over 5 years ago Actions #2

  • 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.

Updated by Go MAEDA over 5 years ago Actions #3

  • Target version changed from Candidate for next major release to 5.0.0

Setting the target version to 5.0.0.

Updated by Go MAEDA over 5 years ago Actions #4

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch. Thank you.

Actions

Also available in: PDF Atom