projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ticket_system-appointment-queueid config, RT#34237
[freeside.git]
/
rt
/
share
/
html
/
Search
/
Schedule.html
diff --git
a/rt/share/html/Search/Schedule.html
b/rt/share/html/Search/Schedule.html
index
be5a140
..
c729ff0
100644
(file)
--- a/
rt/share/html/Search/Schedule.html
+++ b/
rt/share/html/Search/Schedule.html
@@
-201,8
+201,8
@@
<& /Search/Calendar.html,
@_,
Query => "( Status = 'new' OR Status = 'open' OR Status = 'stalled')
<& /Search/Calendar.html,
@_,
Query => "( Status = 'new' OR Status = 'open' OR Status = 'stalled')
- AND ( Type = 'reminder' OR 'Type' = 'ticket' )
",
- #XXX and we have the magic custom field
+ AND ( Type = 'reminder' OR 'Type' = 'ticket' )
+ AND Queue.id = $queueid ",
slots => scalar(@usernames),
Embed => 'Schedule.html',
DimPast => 1,
slots => scalar(@usernames),
Embed => 'Schedule.html',
DimPast => 1,
@@
-222,6
+222,11
@@
my $timestep = RT->Config->Get('CalendarWeeklySizeMin') || 30; #1/2h
</%ONCE>
<%init>
</%ONCE>
<%init>
+#abstraction-leaking
+my $conf = new FS::Conf;
+my $queueid = $conf->config('ticket_system-appointment-queueid')
+ or die "ticket_system-appointment-queueid configuration not set";
+
my @files = ();
#if ( ! $initialized ) {
push @files, map "overlibmws$_", ( '', qw( _iframe _draggable _crossframe ) );
my @files = ();
#if ( ! $initialized ) {
push @files, map "overlibmws$_", ( '', qw( _iframe _draggable _crossframe ) );