-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
[Bug]: Incorrect display of the product on the user's viewing page / v0.10 #935
Comments
im confused where do you see it display incorrectly ? |
It displays the description of the product, not its name. This problem was elsewhere, I attached a link in the message above. |
ho okay I'm still confused xD I will add it to the panel fix branch |
hooo okay |
Checked into this a bit, in admin/users/show.blade.php which seems to be the right location for this, the datatables are calling the right thing:
|
I figured out the fix, but dont know why it works so someone else needs to follow up on this one. The change is line 231 of app/Http/Controllers/Admin/ServerController.php Changed from "return $server->product->description;" to "return $server->product->name;" |
If you get the description in’s tread of the name your fix make sense |
The fix makes sense and that's how I found it, but I'm not 100% sure this value isn't used elsewhere. So I've posted in hopes someone else quickly gives it a pass or fail when they get around to it. its a pretty minor issue. (and possibly up to preference) |
#957 may fix this |
@S0ly can you link the issue to the PR? Thx. |
What is your request about?
The server product name is displayed incorrectly on the /admin/users/<user_id> page. The error is like in this issue, but in a different place.
Branch
development
Solution idea
No response
Controlpanel Logs
No response
Additional Info
The text was updated successfully, but these errors were encountered: