Solr_Base_Query::*_field() are now Solr_Base_Query::->*_filter().

Comments

damien tournoud’s picture

Status: Active » Needs review
StatusFileSize
new2.8 KB

Patch attached.

dww’s picture

Status: Needs review » Needs work

Minor nit:

+  foreach ($query->get_filters() as $field) {

If Solr now calls this a "filter", I'd rather the variable was "$filter", too, instead of "$field".

Otherwise, if it works, ship it. ;)

damien tournoud’s picture

StatusFileSize
new3.03 KB

I'm going to commit the attached.

dww’s picture

Status: Needs work » Reviewed & tested by the community

Looks great, thanks.

damien tournoud’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

damien tournoud’s picture

Status: Fixed » Needs work
Issue tags: +needs drupal.org deployment
dww’s picture

Status: Needs work » Active
Issue tags: -needs drupal.org deployment

Previous has been deployed. Back to active since there are a few other API changes DamZ wants to investigate and possibly take advantage of now that we're using the latest Solr on d.o...

dww’s picture

Status: Active » Closed (fixed)
damien tournoud’s picture

That was a old one :)