Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bestpractical/rt-extension-recentlyviewedtickets


https://github.com/bestpractical/rt-extension-recentlyviewedtickets

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

use warnings;
use strict;

package RT::Extension::RecentlyViewedTickets;
our $VERSION = "0.01";

use RT::Config;

$RT::Config::META{RecentlyViewedTicketsLimit} = {
Section => 'General',
Overridable => 1,
SortOrder => 100,
Widget => '/Widgets/Form/Integer',
WidgetArguments => {
Description => 'Recently Viewed Tickets Limit', #loc
}
};

1;
__END__

=head1 NAME

RT::Extension::RecentlyViewedTickets - Recently Viewed Tickets

=head1 VERSION

Version 0.01

=head1 INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make install

add RT::Extension::RecentlyViewedTickets to @Plugins in RT's etc/RT_SiteConfig.pm:

Set( @Plugins, qw(... RT::Extension::RecentlyViewedTickets) );

Set( $HomepageComponents, [qw(... RecentlyViewedTickets)] );
Set( $RecentlyViewedTicketsLimit, 10 );
Set( $RecentlyViewedTicketsFormat, qq{
'__id__/TITLE:#',
'__Subject__/TITLE:Subject',
Status, QueueName, } );

=head1 AUTHOR

sunnavy,

=head1 LICENSE AND COPYRIGHT

Copyright 2012 Best Practical Solutions, LLC.

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.