]> git.pld-linux.org Git - packages/rt.git/commitdiff
- rel 1; works for me; fix missing links on search results auto/th/rt-4_0_2-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 28 Aug 2011 14:30:30 +0000 (14:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rt-git.patch -> 1.1
    rt.spec -> 1.92

rt-git.patch [new file with mode: 0644]
rt.spec

diff --git a/rt-git.patch b/rt-git.patch
new file mode 100644 (file)
index 0000000..a85fbfc
--- /dev/null
@@ -0,0 +1,19 @@
+commit da71990c74342f5370bf54408f86f1bf5d1bf2b9
+Author: sunnavy <sunnavy@bestpractical.com>
+Date:   Mon Aug 22 05:40:59 2011 +0800
+
+    show same page menu in simple search as in normal search if there is query
+
+diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
+index ff2055b..f4e8ce91 100755
+--- a/share/html/Elements/Tabs
++++ b/share/html/Elements/Tabs
+@@ -571,7 +571,7 @@ my $build_admin_menu = sub {
+             }
+         }
+     }
+-    if ( $request_path =~ m{^/(?:Ticket|Search)/} && $request_path !~ m{^/Search/Simple\.html}) {
++    if ( $request_path =~ m{^/(?!Search/Simple\.html)(?:Ticket|Search)/} || $request_path =~ m{^/Search/Simple\.html} && $m->request_args->{'q'} ) {
+         my $search = Menu()->child('search');
+         my $args      = '';
+         my $has_query = '';
diff --git a/rt.spec b/rt.spec
index 052295c47a264a6173a282c4d061b3f21ee3ce72..bf4f22e6eb19fde0a71b0e1714c9df6a1b69b4e7 100644 (file)
--- a/rt.spec
+++ b/rt.spec
@@ -42,7 +42,7 @@ Summary:      Request Tracker
 Summary(pl.UTF-8):     Request Tracker - system do śledzenia zleceń
 Name:          rt
 Version:       4.0.2
-Release:       0.1
+Release:       1
 License:       GPL v2
 Group:         Applications
 Source0:       http://download.bestpractical.com/pub/rt/release/%{name}-%{version}.tar.gz
@@ -52,6 +52,7 @@ Source2:      %{name}-apache_vhost.conf
 Source3:       %{name}-apache.conf
 Patch0:                %{name}-layout.patch
 Patch1:                %{name}-config.patch
+Patch2:                %{name}-git.patch
 URL:           http://www.bestpractical.com/rt/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -248,6 +249,7 @@ z innymi narzędziami.
 %setup -q
 %patch0 -p0
 %patch1 -p1
+%patch2 -p1
 
 mv aclocal.m4 acinclude.m4
 
This page took 0.139141 seconds and 4 git commands to generate.