To edit pages or tickets please login with username/password: aaf/aaf

Ticket #181 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

[PATCH] Query modified by reference on shared indexes

Reported by: aaf Assigned to: jk
Priority: major Milestone:
Component: 0plugin Version:
Keywords: patch shared_index Cc: r.lph50@gmail.com

Description

Hi, this is a problem if you pass a query into the acts_as_ferret search method but want to re-use it in the view. It will have +class_name:{models} appended.

The patch use the ruby string concatenation operator to create a new query string rather than appending.

Attachments

dont-modify-query.patch (0.5 kB) - added by aaf on 10/23/07 22:21:06.

Change History

10/23/07 22:21:06 changed by aaf

  • attachment dont-modify-query.patch added.

10/23/07 22:22:10 changed by aaf

I am using the stable branch of acts_as_ferret from svn but I think it applies to trunk as well.

10/29/07 08:49:28 changed by jk

  • status changed from new to closed.
  • resolution set to fixed.

applied to trunk, thanks!

To edit pages or tickets please login with username/password: aaf/aaf