Opened 8 years ago

Closed 8 years ago

#900 closed defect (fixed)

Availability selection does not affect value counts

Reported by: Twan Goosen Owned by: Twan Goosen
Priority: critical Milestone: VLO-4.0
Component: VLO web app Version:
Keywords: Cc: teckart@informatik.uni-leipzig.de

Description

  • Select one or more availability levels, leaving at least one level unchecked (e.g. PUB or ACA or RES)
  • Expand a facet, e.g. collections
  • Notice that the counts are based on a query that excludes the availability selection
    • Because of this, the number of results will be different from the displayed numbers, in some cases even 0, such as for (at the time of creating this ticket) for the collection Meertens Institute Metadata Repository.

Change History (5)

comment:1 Changed 8 years ago by DefaultCC Plugin

Cc: teckart@informatik.uni-leipzig.de added

comment:2 Changed 8 years ago by Twan Goosen

Milestone: VLO-4.0 or laterVLO-4.1 or later

Milestone renamed

comment:3 Changed 8 years ago by Twan Goosen

Milestone: VLO-4.1 or laterVLO-4.0

comment:4 Changed 8 years ago by Twan Goosen

Note: query factory (AbstractSolrQueryFactory) generates

	q=*%3A*
		&facet.limit=-1
		&facet.field=languageCode&facet.field=collection&facet.field=resourceClass&facet.field=modality&facet.field=format&facet.field=keywords&facet.field=genre&facet.field=subject&facet.field=country&facet.field=organisation&facet.field=nationalProject&facet.field=dataProvider&facet.field=availability		
		&facet.mincount=1
		&fq=availability%3A%28PUB+OR+ACA+OR+RES%29
		&rows=0
		&facet=true

but Solr logs:

	q=*:*
		&facet.limit=-1	
		&facet.field=languageCode&facet.field=collection&facet.field=resourceClass&facet.field=modality&facet.field=format&facet.field=keywords&facet.field=genre&facet.field=subject&facet.field=country&facet.field=organisation&facet.field=nationalProject&facet.field=dataProvider&facet.field=availability
		&facet.mincount=1
		&rows=0
		&facet=true

somewhere the 'fq' component (which reduces the number of results) gets lost

Last edited 8 years ago by Twan Goosen (previous) (diff)

comment:5 Changed 8 years ago by Twan Goosen

Resolution: fixed
Status: newclosed

Fixed in 7faab...6830f

Note: See TracTickets for help on using tickets.