Project

General

Profile

Actions

Defect #34743

closed

Hooks for queries helper

Added by Alexander Meindl about 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hook requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Plugin developers very often overwrite queries helper column_value and column_content.

The problem is, that there two ways to overwrite it: prepend and alias_method. There is a conflict if one plugin uses prepend and the other plugin uses alias_method for the same method.

More and more plugins do not work together because of this reason. Because of this, there should be a better way to solve this wish to overwrite.

I added a patch to introduce two hooks, which could be used by plugin develops. With this approach there is no need for overwriting this method anymore.


Files

queries_helper.patch (3.87 KB) queries_helper.patch Alexander Meindl, 2021-02-14 08:06
34743-v2.patch (3.63 KB) 34743-v2.patch patch by Alexander Meindl Go MAEDA, 2021-07-11 05:00
Actions

Also available in: Atom PDF