Changeset 33372

Show
Ignore:
Timestamp:
29.07.2019 15:25:03 (3 weeks ago)
Author:
kjdon
Message:

when writing out facets in buildConfig, need to get them from actualfacetfields rather than from actualsortfields

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/perllib/solrbuilder.pm

    r33370 r33372  
    725725 
    726726    foreach my $sf (@{$self->{'buildproc'}->{'facetfields'}}) { 
    727     if ($sf eq "rank") { 
    728         push(@facetfields, $sf); 
    729     } elsif ($self->{'buildproc'}->{'actualsortfields'}->{$sf}) { 
    730         my $shortname = $self->{'buildproc'}->{'sortfieldnamemap'}->{$sf}; 
     727    if ($self->{'buildproc'}->{'actualfacetfields'}->{$sf}) { 
     728        my $shortname = $self->{'buildproc'}->{'facetfieldnamemap'}->{$sf}; 
    731729        push(@facetfields, $shortname); 
    732730        push (@facetfieldmap, "$sf\-\>$shortname");