Changeset 33372 for gs3-extensions


Ignore:
Timestamp:
2019-07-29T15:25:03+12:00 (5 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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");
Note: See TracChangeset for help on using the changeset viewer.