DataTables / Editor-PHP

PHP server-side libraries for Editor
Other
35 stars 22 forks source link

Added support for aliased parent tables in join #1

Closed gil04 closed 5 years ago

gil04 commented 5 years ago

Had a problem with a mjoin on an aliased table. These changes fixed my problem.

To test this I used the upload-many.php example. Rename the users table in the database to user and replace the line 22 from: Editor::inst( $db, 'users' ) to Editor::inst( $db, 'user as users' )

Without this change this was not working.

DataTables commented 5 years ago

Thank you for this! Are you happy for this to be included under the MIT license?

gil04 commented 5 years ago

yes of course

gil04 commented 5 years ago

accidentally closed