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!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | similar-rewrite-2.patch | 2.09 KB | schildi |
| similar-rewrite.patch | 1.46 KB | schildi |
Comments
Comment #1
deekayen commentedI 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.
Comment #2
deekayen commentedNevermind, you modified the query as well. Please make a clean patch.
Comment #3
schildi commentedOh, 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!
Comment #4
deekayen commentedcommitted to DRUPAL-5 and DRUPAL-6--1
Comment #5
jordojuice commentedMarking this issue closed (fixed) as the patch will not be ported to D7. 7.x-2.x uses views integration now.