DK101010 commented on pull request #4828:
URL: https://github.com/apache/cloudstack/pull/4828#issuecomment-811749398


   > @DK101010 The list of search filtres can be found here 
https://github.com/apache/cloudstack/blob/master/ui/src/config/section/compute.js#L70.
 A new one can be added by appending it to the list
   > Next you'll need to add a switch in SearchView similar to 
https://github.com/apache/cloudstack/blob/master/ui/src/components/view/SearchView.vue#L49
 and ensure that when it's checked, it passes -1 as the projectid
   
   Hi @davidjumani, thanks for your hints, it was really helpful.  I'm 
implement it this and it works but I have trouble with some points. 
   
   First the label is not right and I don't know why.
   
![image](https://user-images.githubusercontent.com/57522802/113265242-2d8efe00-92d4-11eb-82d3-7f47c40edd7a.png)
   
   As second when I search with accountwide = true and search again with 
accountwide=false then looks my url like 
   vm?page=1&pagesize=10&accountwide=false
   For me it looks not so good because accountwide = projectid . But I don't 
know if it important.
   
   Also I get from time to time an error that the checkbox object haven't a 
value attribute and I don't know where it comes from.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to