Skip to content

Sorting for appendToSelectStr field DB error#36

Open
xtreme8888 wants to merge 1 commit intozepernick:masterfrom
xtreme8888:patch-1
Open

Sorting for appendToSelectStr field DB error#36
xtreme8888 wants to merge 1 commit intozepernick:masterfrom
xtreme8888:patch-1

Conversation

@xtreme8888
Copy link

Ordering by appendToSelectStr field causing DB error in Codeigniter 3.1.0, haven't tested on other version.

Resolution:

To use original colname with removed $. should do the trick.
Current version uses $colName = $customExpArray[$aliasKey]; causing DB append sorting method to end of each concat individual value

Ordering by appendToSelectStr field causing DB error in Codeigniter 3.1.0, haven't tested on other version.

Resolution: 

To use original colname with removed $. should do the trick. 
Current version uses $colName = $customExpArray[$aliasKey]; causing DB append sorting method to end of each concat individual value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant