Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs

[SCM] Interchange branch, master, updated. REL_5_7_2-12-g4d652fc

 

 

Interchange cvs RSS feed   Index | Next | Previous | View Threaded


interchange-cvs at icdevgroup

Oct 22, 2009, 4:22 PM

Post #1 of 1 (60 views)
Permalink
[SCM] Interchange branch, master, updated. REL_5_7_2-12-g4d652fc

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".

The branch, master has been updated
via 4d652fcb5a006229c610b009081cc4d9bf59db07 (commit)
from f99f328f8ac6349888ac08f56b7c71202e3c27eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4d652fcb5a006229c610b009081cc4d9bf59db07
Author: Carl Bailey <carl[at]endpoint.com>
Date: Thu Oct 22 17:17:59 2009 -0600

Remove empty mv_arg from more-list links

The more_link_template routine calls tag_area with a hard-coded empty
string ('') as the second parameter. This is used in tag_area as $arg
and if defined, is appended to the generated URL as mv_arg. The result
is that all more-links are generated with an empty 'mv_arg='. This patch
replaces the hard-coded empty string with undef so that the more-links
will no longer carry the empty mv_arg.

Developers desiring to specify an mv_arg can do so, for example, by
adding something along the lines of form=|mv_arg=whatever| to their
[query] or [search-region] tags.

(Includes improvements suggested by Peter Ajamian.)

-----------------------------------------------------------------------

Summary of changes and diff:
lib/Vend/Interpolate.pm | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/Vend/Interpolate.pm b/lib/Vend/Interpolate.pm
index d099bf9..eccc040 100644
--- a/lib/Vend/Interpolate.pm
+++ b/lib/Vend/Interpolate.pm
@@ -3172,9 +3172,10 @@ sub find_sort {
sub more_link_template {
my ($anchor, $arg, $form_arg) = @_;

- my $url = tag_area("scan/MM=$arg", '', {
- form => $form_arg,
- secure => $CGI::secure,
+ my $url = tag_area(undef, undef, {
+ search => "MM=$arg",
+ form => $form_arg,
+ match_security => 1,
});

my $lt = $link_template;


hooks/post-receive
--
Interchange

_______________________________________________
interchange-cvs mailing list
interchange-cvs[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Interchange cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.