Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Patch attached. I believe listing of users (and counting) need a db_rewrite_sql so can alter what is shown, etc.
Comment | File | Size | Author |
---|---|---|---|
og_db_rewrite_sql_user_lists.patch | 704 bytes | hefox | |
Comments
Comment #1
Grayside CreditAttribution: Grayside commentedIs there a best practice around using aliases as table names? Also, in the optional $args element, would it not be good to specific this is for OG? Or is the idea that in a general sense, any adjustment to a listing of users would have the same kinds of tweaks?
Haven't done much with db_sql_rewrite().
Comment #3
hefox CreditAttribution: hefox commentedhttp://api.drupal.org/api/drupal/modules!node!node.module/function/node_... actually ignores table name so don't think there's any problems for generic use as most things are likely keying in on key.
Haven't seen args used as you mentioned, so don't think it's needed.
Comment #4
Grayside CreditAttribution: Grayside commentedog_db_rewrite_sql_user_lists.patch queued for re-testing.
Comment #6
Grayside CreditAttribution: Grayside commentedhttp://drupalcode.org/project/og.git/commit/c425fca