RtSeverityOrdering

By Yanick Champoux Last update Dec 31, 2007 — Installed 122 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 5 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Yanick Champoux Script's Author

That's a rather... quirky behavior.

I've uploaded a new version of the GM script that takes the quick'n'dirty road of stripping the carriage returns of all offending hrefs. I'll also submit a bug report to RT. Thanks!

 
Michael G Sc... Scriptwright

After sorting all by severity the links all have a %0A added to the ID. So id=1234 becomes id=%0A1234. %0A is newline.

This appears to be a quirk of how the HTML is written. There is a newline in the links, which is wrong. Somehow the browser is stripping it out in the HTML but honoring it in the Javascript.

 
Yanick Champoux Script's Author

My user's wishes are my commands. Clicking a second time in version 0.04 now order the list of bugs in reverse order of severity. :-)

 
Michael G Sc... Scriptwright

You rock, this is awesome! It totally fixes my problem. Thanks!

Now that I've buttered you up, on with the bug reports!

It does, in fact, sort by severity as advertised. But clicking "Severity" a second time doesn't invert the ordering like I'd expect. It remains in descending severity order, but the secondary sorting changes. Presumably it's just resorting the existing list.

PS Have you considered submitting this to the RT folks for inclusion into mainline RT? Javascript-based column sorting is a whole lot faster than having RT do it.