[ic] [more] / [more-list] Alpha Numeric

Brian Kosick interchange-users@interchange.redhat.com
Wed Oct 10 15:04:00 2001


At 09:27 PM 10/9/01 +0200, you wrote:
>I think no one tried it yet and you definitely found a bug. A first
>fix to Interpolate.pm which should work with the above query:
>
>diff -u -r2.9.2.2 -r2.9.2.3
>--- Interpolate.pm      2001/10/07 12:56:32     2.9.2.2
>+++ Interpolate.pm      2001/10/09 19:23:36     2.9.2.3
>@@ -5327,6 +5327,11 @@
>         if($opt->{ma}) {
>                 # Find the sort field and alpha options....
>                 Vend::Scan::parse_profile_ref($object, $opt);
>+               # Contents of mv_return_fields must be of the same type
>+               # (numeric here) as the contents of mv_sort_field
>+               @{$object->{mv_return_fields}} = map {$nh->{$_}} 
>@{$object->{mv_return_fields}};
>+               # We need to turn the hash reference into a search object
>+               $object = new Vend::Search (%$object);
>                 # Delete this so it will meet conditions for creating a more
>                 delete $object->{mv_matchlimit};
>         }
>
>But don't nail me on this. We have to take to look closer at it,
>anyway.
>
>Ciao
>         Racke

Racke, now that this is known to work, will this patch be incorporated into 
the current and future versions of IC 4.8.x and higher CVS?  I would like 
to stick with the stable branch.