[pmg-devel] applied-series: Re: [PATCH pmg-api/pmg-gui ] fix 1976
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Jun 4 08:37:34 CEST 2020
On 5/28/20 10:04 AM, Stoiko Ivanov wrote:
> This patchset addresses sorting of the deferred queue output in
> GUI->Administration->Queues.
>
> Simply enabling sorting does not work, due to the BufferedStore used for the
> API result (on a loaded system or in case of a misconfiguration the queue
> can easily grow to contain many entries).
>
> Huge Thanks to Dominik for walking me through to the point that sometimes it's
> best to simply check the ExtJS sourcecode and not rely on the documentation!
>
> I used simpleSortMode [0], since it should be enough for this use-case and
> I did not find a way to (sensibly) pass an array to an API call.
>
> [0] providing the sortfield and direction as two parameters instead of
> an array of objects with 'field' and 'direction' properties
>
> pmg-api:
> Stoiko Ivanov (1):
> fix #1976: optionally sort postfix queue result
>
> src/PMG/API2/Postfix.pm | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> pmg-gui:
> Stoiko Ivanov (1):
> fix #1976: enable remoteSort for PostfixMailQueue
>
> js/PostfixMailQueue.js | 4 ++++
> 1 file changed, 4 insertions(+)
>
applied series, thanks!
More information about the pmg-devel
mailing list