Closed apex-omontgomery closed 6 years ago
Hi, I'd like to work on this if it is still available. Thanks!
@iorme1 - it's yours! Let me know if you have any questions.
I have a few questions about this issue. My first conclusion after looking at the codebase was that this bug is based on how ActiveAdmin was setup for this website. After coming to that conclusion, I researched a bit on ActiveAdmin because I had never used it before. It seems like "is_partner" was missing from the permit_params and in the 'index do end block' of app/admin/code_school.rb. However, for the "Tag Taggings" "Taggings" and "Locations" attributes that show up as object memory locations instead of property values, I don't really know how those are being shown in the attribute filters in the first place. I don't see them as attributes of the "code_school" model in the codebase, nor do I see those attributes in the permit_params of app/admin/code_school.rb. So I guess I'm not understanding how these attributes are related to the code_school model or how they are even being shown at all on those attribute filters for code schools. I'm assuming I need to have quite a bit of knowledge on ActiveAdmin to solve this issue that I may just not have.
@iorme1 - You would just need to add is_partner
to the below file in the same way the other attributes are added there. For example, full_time
.
https://github.com/OperationCode/operationcode_backend/blob/master/app/admin/code_school.rb
If you want to learn more about ActiveAdmin, in general, Railscasts has an oldy but goody you can watch.
@iorme1 - As there has not been any response in PR, or any recent activity on this issue, we are assuming it has become abandoned. We are marking it available for other members to contribute.
Here are our contributing guidelines which discuss the process and timelines for working an issue. You are more than welcome to re-reserve the issue, if it remains marked as "Status: Available"!
I just received an email saying you are re-opening this issue. I thought I had finished the issue on my last PR... but now I noticed that I actually did not know I was responsible for resolving the merge conflicts you mentioned. Sorry, complete newbie still with collaborating on git and didn't realize I was actually the one that needed to fix the merge conflict. I would appreciate being able to finish this PR I had started and resolve the conflicts if you don't mind.
@iorme1 - Np at all. I'll re-reserve it for you now.
Bug Report
What is the current behavior?
In the admin dashboard one of the attributes for code_school is not appearing as an attribute along with not allowing this to be filterable.
In the admin dashboard some filters show object values.
What is the expected behavior?
is_partner
should be in dashboard object references should instead show values.What steps did you take to get this behavior?
Login to dashboard
is_partner
Locations
andTaggings
andTag Taggins
Additional Info
Operating System
windows 10
Browser
chrome
Screenshots