Skip to content

bestpractical/rt-extension-previewinsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    RT::Extension::PreviewInSearch - preview tickets right from search
    results page

DESCRIPTION
    RT's query builder (the ticket search interface) allows you to customize
    all of the columns that show up in search results, so you can usually
    customize a search and get all of the ticket metadata you need displayed
    on the search results page (e.g., current status, queue, owner, etc.).
    But sometimes you also need to see something from the history when you
    are looking for a ticket. This extension allows you to view the history
    of tickets at the bottom of the search results page without clicking
    over to the full display ticket page.

    With the extension installed, perform your search, then click anywhere
    in the ticket row in the search results. The history for that ticket
    will be displayed at the bottom of the page. If you have inline edit
    enabled for some search fields, click anywhere outside the inline edit
    fields. You'll see the pencil icon appear if you are in an inline edit
    area.

    To make it easier to see the ticket history with less scrolling, you can
    set the Rows per page setting on the search to a smaller number. A
    "$SideBySidePreview" mode is also available.

RT VERSIONS
    Works with RT 6.0. Install the latest 0.* version for older RTs.

INSTALLATION
    perl Makefile.PL
    make
    make install
        May need root permissions

    Edit your /opt/rt6/etc/RT_SiteConfig.pm
        Add this line:

            Plugin( "RT::Extension::PreviewInSearch" );

    Clear your mason cache
            rm -rf /opt/rt6/var/mason_data/obj

    Restart your webserver

CONFIGURATION
  $SideBySidePreview
    Set this option to divide the search results page in half and display
    the selected ticket history on the right of search results.

        Set($SideBySidePreview, 1);

AUTHOR
    Best Practical Solutions, LLC

BUGS
    All bugs should be reported via email to

    [email protected]
    <mailto:[email protected]>

    or via the web at

    rt.cpan.org
    <http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-PreviewIn
    Search>.

LICENSE AND COPYRIGHT
    This software is Copyright (c) 2007-2023 by Best Practical Solutions,
    LLC

    This is free software, licensed under:

      The GNU General Public License, Version 2, June 1991

Packages

No packages published

Contributors 6

Languages