Download & Extend

Similar entries: patch to allow hook_rewrite_sql calls

Project:Similar entries
Version:master
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

currently "similar entries" does not open other modules the way to extend the query by implementing the hook_rewrite_sql. The attached patch should resolve this.
Please check!

AttachmentSize
similar-rewrite.patch1.46 KB

Comments

#1

Status:needs review» needs work

I get the general idea of what's wrong, but your patch seems to be against a customized version of similar. I'll try to apply it by hand.

#2

Nevermind, you modified the query as well. Please make a clean patch.

#3

Oh, yes! Sorry for the mistake!
When reading your comment I first did not understand what you want to tell me.
But then I realized that I had modified the source a long time ago.
So I unpacked the original source and applied my modifications again.

Hopefully the patch is correct now!

AttachmentSize
similar-rewrite-2.patch 2.09 KB

#4

Version:5.x-2.0» master
Status:needs work» patch (to be ported)

committed to DRUPAL-5 and DRUPAL-6--1

#5

Status:patch (to be ported)» closed (fixed)

Marking this issue closed (fixed) as the patch will not be ported to D7. 7.x-2.x uses views integration now.

nobody click here