Similar entries: patch to allow hook_rewrite_sql calls
schildi - July 16, 2009 - 08:58
| Project: | Similar Entries |
| Version: | HEAD |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | patch (to be ported) |
Description
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!
| Attachment | Size |
|---|---|
| similar-rewrite.patch | 1.46 KB |

#1
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!
#4
committed to DRUPAL-5 and DRUPAL-6--1