Would like to extend the db_rewrite_sql statement and add an identifier to that args variable that uniquely identifies the sql statement. This is useful for anyone who wants to use hook_db_rewrite_sql to only alter that particular statement.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | googlenews-n1181648-4.patch | 519 bytes | damienmckenna |
| #2 | googlenews-alter-query_1181648_2.patch | 483 bytes | fgm |
| #1 | extend-db_rewrite_sql.patch | 765 bytes | littlecow |
Comments
Comment #1
littlecow commentedAttached is a patch that adds this feature.
Comment #2
fgmThis is still very much a need for 7.x, and even simpler than on D6. Adjusting title accordingly.
Suggested patch attached ; will need to be backported to 6.x if accepted.
Comment #3
fgmForgot to set status.
Comment #4
damienmckennaRerolled.
Comment #5
damienmckennaCommitted. FYI I changed the tag to "googlenews_sitemap".
Comment #6
damienmckennaNeeds to be backported to D6.
Comment #7
damienmckennaComment #8
damienmckennaThe D6 version is no longer supported. Sorry folks.