Editing Searches which form default RT at a glance page fails

Hello all,

I am trying to figure out why I can not edit the query used for the
default at a glance page.

Process:

  1. Login as Root and get to the “RT at a glance page”
  2. Click edit, immediately to the right of, but on the same line as
    the text “10 highest priority tickets I own”
  3. Now we get taken to the page “Customize “N” highest priority
    tickets I own” where I click “Search - My Tickets” on the line that
    starts with “You can also edit the predefined search itself”
  4. Now we get taken to the page “Query Builder” where I click on the
    "Advanced" link on the blue menu bar

Which takes me to a scree that has a text box for a query and then a
text box for formating that query.

My system currently has the following information for the query and
the formating boxes

Query:
Owner = ‘CurrentUser’ AND ( Status = ‘new’ OR Status = ‘open’ )

Formating:
'id/TITLE:

I have attempt to replace the formating information with the following:

Formating:
id/
TITLE:#’,
Subject/
TITLE:Subject’,
Priority’,
QueueName’,
ExtendedStatus

I then click the “apply your changes” button.
Then I am taken to the Query Builder page where I hit the "save"
button which indicates that this is a “RT System’s saved search” and
has the description of “[_1] highest priority tickets I own”

I click the show results button and bingo I get good results BUT if I
go back by clicking “Home” and click on the title link “10 highest
priority tickets I own” I get a display of the ticket urls but the
formating is wrong. Going back and editing the search shows that the
search formating I saved above did not actually “save” and displays
this again:

Formating:
'id/TITLE:

Anyone have an idea why this is happening or why saving this search is
not taking?

Any help would be appreciated, I can’t seem to get this bug to go away
and I can’t figure out why it is happening.

Brian

Forgot to add I am using RT 3.6.7

And the default search in RT_SiteConfig.pm is:

RT::DefaultSearchResultFormat ‘id/TITLE:#’,
Subject/TITLE:Subject’,
Status, QueueName, OwnerName, Priority, ‘NEWLINE’, ‘’,
Requestors’, ‘CreatedRelative’,
ToldRelative’,
LastUpdatedRelative’,
'TimeLeft’On Mon, Jan 26, 2009 at 10:22 PM, Brian Friday brian.friday@gmail.com wrote:

Hello all,
I am trying to figure out why I can not edit the query used for the default
at a glance page.
Process:

  1. Login as Root and get to the “RT at a glance page”
  2. Click edit, immediately to the right of, but on the same line as the text
    "10 highest priority tickets I own"
  3. Now we get taken to the page “Customize “N” highest priority tickets I
    own” where I click “Search - My Tickets” on the line that starts with “You
    can also edit the predefined search itself”
  4. Now we get taken to the page “Query Builder” where I click on
    the “Advanced” link on the blue menu bar
    Which takes me to a scree that has a text box for a query and then a text
    box for formating that query.
    My system currently has the following information for the query and the
    formating boxes
    Query:
    Owner = ‘CurrentUser’ AND ( Status = ‘new’ OR Status = ‘open’ )
    Formating:
    'id/TITLE:
    I have attempt to replace the formating information with the following:
    Formating:
    id/TITLE:#’,
    Subject/TITLE:Subject’,
    Priority’, ‘QueueName’,
    'ExtendedStatus
    I then click the “apply your changes” button.
    Then I am taken to the Query Builder page where I hit the “save” button
    which indicates that this is a “RT System’s saved search” and has the
    description of "[_1] highest priority tickets I own"
    I click the show results button and bingo I get good results BUT if I go
    back by clicking “Home” and click on the title link “10 highest priority
    tickets I own” I get a display of the ticket urls but the formating is
    wrong. Going back and editing the search shows that the search formating I
    saved above did not actually “save” and displays this again:
    Formating:
    'id/TITLE:
    Anyone have an idea why this is happening or why saving this search is not
    taking?
    Any help would be appreciated, I can’t seem to get this bug to go away and I
    can’t figure out why it is happening.
    Brian

Would really REALLY appreciate it if someone can take a look or give a
comment back on this issue:

Recap of Issue:

From RT-At-A-Glance Page a user clicks on either of the links:

10 highest priority tickets I own
10 newest unowned tickets

When the new page loads the search the page is formated as follows
with the following column names:

Normal:

Subject Priority Queue Status

My System:
a href id id a TITLE

with the two “id” columns having a url:

The first “id” has the url
https://dev-rt00.domain.com/rt/Search/Results.html?Order=ASC&Query=%20Owner%20%3D%20’__CurrentUser__’%20AND%20(%20Status%20%3D%20’new’%20OR%20Status%20%3D%20’open’)&Rows=50&OrderBy=id&Page=1&Format=’<a%20href%3D"%2Frt%2FTicket%2FDisplay.html%3Fid%3D__id__">__id__<%2Fa>%2FTITLE%3A

The second “id” has the url:
https://dev-rt00.domain.com/rt/Search/Results.html?Order=ASC&Query=%20Owner%20%3D%20’__CurrentUser__’%20AND%20(%20Status%20%3D%20’new’%20OR%20Status%20%3D%20’open’)&Rows=50&OrderBy=id&Page=1&Format=’<a%20href%3D"%2Frt%2FTicket%2FDisplay.html%3Fid%3D__id__">__id__<%2Fa>%2FTITLE%3A

Things I know so far:

  1. This effects default system searches and personal saved searches.
  2. Updating the search format as root only works once even if you hit
    save. Once saved you then hit “add and search” and the formating is
    normal but returning to the at a glance page and clicking the search
    goes back to failing displaying works exactly once but only once

Under advanced the formating only displays the following:

id/TITLE:#’,

Even though the settings is correct and includes the full default
search (which was not edited in the RT_SiteConfig.pm)

I have attached in text file the configuration output for the box.

Can anyone please respond to this? An acknowledgement that you read
this and are stumped as well? anything??

Something is wacky here but I can’t seem to find it.

  • Brian

rt3-config.txt (8.88 KB)