[
https://issues.apache.org/jira/browse/AMQ-9743?focusedWorklogId=978213&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-978213
]
ASF GitHub Bot logged work on AMQ-9743:
---------------------------------------
Author: ASF GitHub Bot
Created on: 08/Aug/25 18:45
Start Date: 08/Aug/25 18:45
Worklog Time Spent: 10m
Work Description: sergio-d-lemos opened a new pull request, #1479:
URL: https://github.com/apache/activemq/pull/1479
Fixes an issue registering window.onload JS events, also fixes a call to
prettyPrint() with the wrong callback.
`addEvent()` doesn't seem to work well with `window.onload`, resulting in
the registered events not being called, including the
[standardistaTableSortingInit](https://github.com/apache/activemq/blob/2eb0d6675008a5e7fd6cbec4a177ab13fde3b8f2/activemq-web-console/src/main/webapp/js/standardista-table-sorting.js#L424C10-L424C38)()
function which configures the sortable table headers.
This PR also fixes an existing error when calling `prettyPrint()` as the
'onload' event callback, prettyPrint expects its argument to be a callback but
actually received an "event" object.
I tested on Chrome browser by navigating the Queues and Topics pages and
sorting the table by different columns. Also published, moved, copied and
deleted messages.
Issue Time Tracking
-------------------
Worklog Id: (was: 978213)
Remaining Estimate: 0h
Time Spent: 10m
> Column sorting broken on web ui console
> ---------------------------------------
>
> Key: AMQ-9743
> URL: https://issues.apache.org/jira/browse/AMQ-9743
> Project: ActiveMQ Classic
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 6.1.7
> Reporter: Brent Reusing
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Sorting columns of queues, topics, and other items on the web ui console in
> ActiveMQ Classic is no longer available. This was discovered after upgrading
> from v6.1.5 to v6.1.7.
> Sorting columns is a very valuable feature in that it provides quick visual
> feedback on queue counts and consumer counts. Sorting on "Number of Pending
> Messages" and/or "Number of Consumers" allows quick identification of
> consumers that might be having issues. This feature is used frequently in my
> deployments.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact