Open syosoft opened 8 years ago
Nice idea, i'll test and adopt this too if you don't mind. You could create a PR, i'm sure zepernick will appreciate the contribution.
Thanks - yea, have at it. I tried to "self document" all of my changes by wrapping them in "if/else/endif" syntax so they would be easier to pickout (at least for the original author). I'm not sure if there are edge cases that I may have screwed up -- so I'm going to skip on the PR for now. I figured I'd at least document my necessary changes here (having, column alias's, etc) in the hopes they'll help someone use this great library with fewer hurdles.
Ignore this... See my pull request for an update. The where clause and having clauses didn't mesh. I think the underlying problem was when codeigniter tried to escape my DatatableModel::appendToSelectStr() array values.
Had to rework sqlJoinsAndWhere method to work with alias's properly. Probably a few other changes that I don't recall.