hello debtman,

as I had to create some new roles, I noticed that they appear not in the right order at the grants form. So I would suggest to add an ORDER BY statement at function _nodeaccess_populate($nid)

    $result = db_query("SELECT rid, name, na.* FROM {role} as r LEFT JOIN {node_access} na ON rid=gid AND realm='%s' AND nid=%d ORDER BY r.name ", 'nodeaccess_rid', $nid);

Comments

mrtoner’s picture

+1 for this.

Anonymous’s picture

Status: Active » Fixed

updated soon

Anonymous’s picture

Status: Fixed » Closed (fixed)