[Rt-commit] r18238 - in rt/3.999/branches/merge_to_3.8.2: . share/html/Search share/html/Search/Elements share/html/Ticket/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Feb 5 02:48:13 EST 2009
Author: sunnavy
Date: Thu Feb 5 02:48:12 2009
New Revision: 18238
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/share/html/Elements/ShowSearch
rt/3.999/branches/merge_to_3.8.2/share/html/Search/Build.html
rt/3.999/branches/merge_to_3.8.2/share/html/Search/Bulk.html
rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/EditSearches
rt/3.999/branches/merge_to_3.8.2/share/html/Search/Results.html
rt/3.999/branches/merge_to_3.8.2/share/html/Ticket/Elements/Tabs
Log:
r19616 at sunnavys-mb: sunnavy | 2009-02-05 15:35:16 +0800
case fixes, mostly ;)
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Elements/ShowSearch
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Elements/ShowSearch (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Elements/ShowSearch Thu Feb 5 02:48:12 2009
@@ -60,7 +60,7 @@
my $SearchArg;
my $customize;
my $query_display_component = '/Elements/CollectionList';
-my $query_link_url = RT->config->get('WebPath').'Search/Results.html';
+my $query_link_url = RT->config->get('WebPath').'/Search/Results.html';
if ($saved_search) {
my ( $container_object, $search_id ) = _parse_saved_search($saved_search);
@@ -113,8 +113,8 @@
$m->callback(
%ARGS,
callback_name => 'ModifySearch',
- OriginalSearch => $SearchArg,
- Search => $ProcessedSearchArg,
+ original_search => $SearchArg,
+ search => $ProcessedSearchArg,
);
foreach ( $SearchArg, $ProcessedSearchArg ) {
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Search/Build.html
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Search/Build.html (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Search/Build.html Thu Feb 5 02:48:12 2009
@@ -284,7 +284,7 @@
$session{'CurrentSearchHash'} = {
%query,
- SearchId => $saved_search{'id'},
+ search_id => $saved_search{'id'},
object => $saved_search{'object'},
description => $saved_search{'description'},
};
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Search/Bulk.html
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Search/Bulk.html (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Search/Bulk.html Thu Feb 5 02:48:12 2009
@@ -54,7 +54,7 @@
rows => $rows,
order_by => $order_by,
order => $order,
- saved_searchid => $saved_searchid &>
+ saved_search_id => $saved_search_id &>
<& /Elements/ListActions, actions => \@results &>
<form method="post" action="<% RT->config->get('WebPath') %>/Search/Bulk.html" enctype="multipart/form-data">
@@ -391,5 +391,5 @@
$order => 'ASC'
$order_by => 'id'
$query => undef
-$saved_searchid => undef
+$saved_search_id => undef
</%args>
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/EditSearches
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/EditSearches (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/EditSearches Thu Feb 5 02:48:12 2009
@@ -100,7 +100,7 @@
my %arg = (
Query => {},
SavedSearch => {},
- SearchFields => [qw(Query format order_by order rows_per_page)],
+ SearchFields => [qw(query format order_by order rows_per_page)],
@_
);
@@ -182,7 +182,7 @@
push @results, _("Deleted saved search");
}
elsif ( $ARGS{'saved_search_copy'} ) {
- my ($container, $id ) = _parse_saved_search( $ARGS{'saved_searchid'} );
+ my ($container, $id ) = _parse_saved_search( $ARGS{'saved_search_id'} );
$saved_search->{'object'} = $container->attributes->withid( $id );
if ( $ARGS{'saved_search_description'} && $ARGS{'saved_search_description'} ne $saved_search->{'object'}->description ) {
$saved_search->{'description'} = $ARGS{'saved_search_description'};
@@ -210,7 +210,7 @@
<%ARGS>
$query => {}
$saved_search => {}
- at search_fields => qw(Query format order_by order rows_per_page)
+ at search_fields => qw(query format order_by order rows_per_page)
</%ARGS>
<%INIT>
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Search/Results.html
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Search/Results.html (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Search/Results.html Thu Feb 5 02:48:12 2009
@@ -56,7 +56,7 @@
rows => $rows,
order_by => $order_by,
order => $order,
- saved_searchid => $saved_searchid &>
+ saved_search_id => $saved_search_id &>
<& /Elements/CollectionList,
query => $query,
allow_sorting => 1,
@@ -193,5 +193,5 @@
$page => 1
$order_by => undef
$order => undef
-$saved_searchid => undef
+$saved_search_id => undef
</%ARGS>
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Ticket/Elements/Tabs
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Ticket/Elements/Tabs (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Ticket/Elements/Tabs Thu Feb 5 02:48:12 2009
@@ -251,14 +251,14 @@
my $args = '';
my $has_query = '';
my %query_args;
-my $search_id = $ARGS{'saved_searchid'}
+my $search_id = $ARGS{'saved_search_id'}
|| $session{'CurrentSearchHash'}->{'searchid'} || '';
$has_query = 1 if ( $ARGS{'query'} or $session{'CurrentSearchHash'}->{'query'} );
%query_args = (
- saved_searchid => ($search_id eq 'new') ? undef : $search_id,
+ saved_search_id => ($search_id eq 'new') ? undef : $search_id,
query => $ARGS{'query'} || $session{'CurrentSearchHash'}->{'query'},
format => $ARGS{'format'} || $session{'CurrentSearchHash'}->{'format'},
order_by => $ARGS{'order_by'}
More information about the Rt-commit
mailing list