Title: display tables does not show complete data · Issue #63 · apache/cloudstack-cloudmonkey · GitHub
Open Graph Title: display tables does not show complete data · Issue #63 · apache/cloudstack-cloudmonkey
X Title: display tables does not show complete data · Issue #63 · apache/cloudstack-cloudmonkey
Description: Here is a test of list hosts api where using filter for 2 fields: name and oscategoryname which is OS preference in cloudstack UI. if I'm using table output , I only get on column because only one host have the OS preference set. but if ...
Open Graph Description: Here is a test of list hosts api where using filter for 2 fields: name and oscategoryname which is OS preference in cloudstack UI. if I'm using table output , I only get on column because only one ...
X Description: Here is a test of list hosts api where using filter for 2 fields: name and oscategoryname which is OS preference in cloudstack UI. if I'm using table output , I only get on column because only ...
Opengraph URL: https://github.com/apache/cloudstack-cloudmonkey/issues/63
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"display tables does not show complete data","articleBody":"Here is a test of list hosts api where using filter for 2 fields: name and oscategoryname which is OS preference in cloudstack UI. if I'm using table output , I only get on column because only one host have the OS preference set. but if I'm using json output I get all the information.\r\n\r\nThis seams to be true also I filter is not used, where the column oscategoryname is not displayed.\r\n\r\n\r\ntable output that is incorrect: (missing column)\r\n```\r\n(staging1) \u003e list hosts filter=oscategoryname,id\r\ncount = 13\r\nhost:\r\n+--------------------------------------+\r\n| ID |\r\n+--------------------------------------+\r\n| 1b7d55f0-95bd-4aa0-a247-fa5bc99972cf |\r\n| eb3c8438-c8a0-44ee-a770-797feb684fc9 |\r\n| 1a7c2d6b-e4db-4e53-a623-3f9ba55746de |\r\n| 07cbb1ab-d0c5-43c7-9460-3ce8db7445de |\r\n| 57c2557f-3352-4849-aab3-23237023900b |\r\n| 5baf9623-2099-4ce0-8a1e-2bf6e6f776a6 |\r\n| be0a9906-acec-4bf3-b525-e38aba09a1ee |\r\n| ea90f627-e4ef-40a3-8359-cab5eb7c6e35 |\r\n| 5ff06d4a-d447-4e3e-8c2d-0bc85c013fca |\r\n| 0b2ac79f-6b95-422b-b2f3-72389887a367 |\r\n| 4afd50a7-2140-4d10-94d8-c7c77c005c36 |\r\n| 5307f1c4-8a46-45d8-b5cf-188da557719b |\r\n| f6d8fa63-6b28-4e16-956f-3b140d2f4214 |\r\n+--------------------------------------+\r\n(staging1) \u003e list hosts filter=oscategoryname\r\ncount = 13\r\nhost:\r\n+----------------+\r\n| OSCATEGORYNAME |\r\n+----------------+\r\n| Windows |\r\n+----------------+\r\n```\r\n\r\njson output that expose expected results: \r\n```\r\n(staging1) \u003e set display json\r\n(staging1) \u003e list hosts filter=oscategoryname\r\n{\r\n \"count\": 13,\r\n \"host\": [\r\n {},\r\n {},\r\n {},\r\n {},\r\n {},\r\n {\r\n \"oscategoryname\": \"Windows\"\r\n },\r\n {},\r\n {},\r\n {},\r\n {},\r\n {},\r\n {},\r\n {}\r\n ]\r\n}\r\n(staging1) \u003e list hosts filter=oscategoryname,name\r\n{\r\n \"count\": 13,\r\n \"host\": [\r\n {\r\n \"name\": \"stg-xen05\"\r\n },\r\n {\r\n \"name\": \"stg-xen06\"\r\n },\r\n {\r\n \"name\": \"stg-xen76-01\"\r\n },\r\n {\r\n \"name\": \"stg-xen76-02\"\r\n },\r\n {\r\n \"name\": \"stg-xen76-03\"\r\n },\r\n {\r\n \"name\": \"stg-xen01\",\r\n \"oscategoryname\": \"Windows\"\r\n },\r\n {\r\n \"name\": \"s-3438-VM\"\r\n },\r\n {\r\n \"name\": \"test-xen01\"\r\n },\r\n {\r\n \"name\": \"stg-xen02\"\r\n },\r\n {\r\n \"name\": \"stg-xen03\"\r\n },\r\n {\r\n \"name\": \"v-3437-VM\"\r\n },\r\n {\r\n \"name\": \"stg-xen04\"\r\n },\r\n {\r\n \"name\": \"test-xen02\"\r\n }\r\n ]\r\n}```\r\n\r\n\r\nI think it's just a matter of suporting empty fields in the table output.","author":{"url":"https://github.com/pdion891","@type":"Person","name":"pdion891"},"datePublished":"2020-05-01T15:41:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/63/cloudstack-cloudmonkey/issues/63"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5800fe35-9b58-d325-b0f8-db4b78401b7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D78:1BA1D:130BE2E:1AA0BF9:6982167F |
| html-safe-nonce | 627cc6df9b6a93f503f4549b228e49604a14e734b4ab887c42c21a1004643375 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDc4OjFCQTFEOjEzMEJFMkU6MUFBMEJGOTo2OTgyMTY3RiIsInZpc2l0b3JfaWQiOiI1NjcyODMxMzEwNzA4NzQxNzU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a2a6cebeab9a901d686cf3e9e94dd6f562a307c67620038121a2d39697cd6c7f |
| hovercard-subject-tag | issue:610816276 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack-cloudmonkey/63/issue_layout |
| twitter:image | https://opengraph.githubassets.com/14cb5bb6bb6f91e18cc005eadc1f10bd92ce8a1173e54a533ee509795ef78b89/apache/cloudstack-cloudmonkey/issues/63 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/14cb5bb6bb6f91e18cc005eadc1f10bd92ce8a1173e54a533ee509795ef78b89/apache/cloudstack-cloudmonkey/issues/63 |
| og:image:alt | Here is a test of list hosts api where using filter for 2 fields: name and oscategoryname which is OS preference in cloudstack UI. if I'm using table output , I only get on column because only one ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pdion891 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c5d01132ac10b0b45b88f4c1c8790502d669eb065ff383dc5e4757c174f3380f |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack-cloudmonkey git https://github.com/apache/cloudstack-cloudmonkey.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 13641478 |
| octolytics-dimension-repository_nwo | apache/cloudstack-cloudmonkey |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13641478 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack-cloudmonkey |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0ac87bbde7c9f04b7ead5505c12f56048d89df09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width