-
Notifications
You must be signed in to change notification settings - Fork 46
By Komal - Reporting - By default few columns are available. #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Extras #101357 Bug fixes for the CSVExport from the frontend See merge request !4
| { | ||
| $calHeading = strtoupper($eachColumn); | ||
| // Remove double Quotes from the data | ||
| $eachColumn = str_replace('"', '', $eachColumn); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why 3 different variables? eachColumn eachColumn2 final_eachColumn ?
only one should do.
| $colNames = array_intersect($plugcolNames[0], $confirgcols); | ||
|
|
||
| if (!empty($colNames)) | ||
| // Change By komal to show default field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove your name, add issue id in comment
| $param = json_decode($QueryData->param); | ||
| $this->colToshow = $param->colToshow; | ||
| } | ||
| // Added By komal to show default field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove name, add issue id in comment if needed at all
| $finalValue2 = preg_replace('/(\r\n|\r|\n)+/', " ", $finalValue); | ||
|
|
||
| // Remove extra spaces from the data | ||
| $final_text_value = preg_replace('/\s+/', " ", $finalValue2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, use only single variable
No description provided.