CodeIgniter4-DataTables
CodeIgniter4-DataTables copied to clipboard
query builder datatable didnt correctly read alias string while data searching
It looks like the string inside SELECT function was not converted correctly, showing an error that the column does not exist as a result
here is my code
Here is the error
but if output it with findAll(), looks fine
This is only happen on search
Version (please complete the following information):
- PHP Version: 7.4
- CodeIgniter version: 4.x
- Library version: 0.6.1
- Db: Postgresql
The number of strings deleted was too large, so the "e" was also deleted. I modified a bit how the string deleted by adding 1 position
here is the fix
soo here is the result that should be looks like
soo i can get u.name correctly
the fix is on PR #38