Skip to content

fix: unauthorized columns being displayed by builder #223

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

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

Arne1303
Copy link
Contributor

Hey Yajra hope you're doing well!

Here is the fix for the unauthorized columns being displayed in the HTML builder. I decided to simply ignore all unauthorized columns when adding columns in the HasColumns trait, that way they are completely absent from the column's collection.

Closes #222

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@Arne1303
Copy link
Contributor Author

Guess I will have to move the new test, maybe into BuilderOptionsTest? Not sure if it belongs there

@yajra yajra self-requested a review August 31, 2024 04:02
@yajra yajra merged commit 2373644 into yajra:master Aug 31, 2024
4 of 6 checks passed
@yajra yajra changed the title Fix unauthorized columns being displayed by builder fix: unauthorized columns being displayed by builder Aug 31, 2024
@yajra
Copy link
Owner

yajra commented Aug 31, 2024

Released on https://github.com/yajra/laravel-datatables-html/releases/tag/v11.5.1 🚀 Thanks!

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.

Column::makeIf is being rudely unrespected by builder
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy