Title: Only one order by can be handled · Issue #22 · JavaWebStack/orm · GitHub
Open Graph Title: Only one order by can be handled · Issue #22 · JavaWebStack/orm
X Title: Only one order by can be handled · Issue #22 · JavaWebStack/orm
Description: Describe the Bug The .order() method on the Query overwrites itself and only saves the last instance. This makes it impossible to sensible write queries which require multiple order by statements. To Reproduce repo.query().order("x").ord...
Open Graph Description: Describe the Bug The .order() method on the Query overwrites itself and only saves the last instance. This makes it impossible to sensible write queries which require multiple order by statements. ...
X Description: Describe the Bug The .order() method on the Query overwrites itself and only saves the last instance. This makes it impossible to sensible write queries which require multiple order by statements. ...
Opengraph URL: https://github.com/JavaWebStack/orm/issues/22
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Only one order by can be handled","articleBody":"**Describe the Bug**\r\nThe `.order()` method on the `Query` overwrites itself and only saves the last instance. This makes it impossible to sensible write queries which require multiple order by statements. \r\n\r\n**To Reproduce**\r\n`repo.query().order(\"x\").order(\"y\");`\r\n\r\n**Expected behavior**\r\nShould not throw away previous orders.\r\n\r\n**Screenshots / Logs**\r\nNone\r\n\r\n**Environment Information:**\r\n - Java Language Level : \r\n\r\n**Additional Context**\r\nNone","author":{"url":"https://github.com/TimothyGillespie","@type":"Person","name":"TimothyGillespie"},"datePublished":"2021-03-31T05:21:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/22/orm/issues/22"}
| 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:19e5f18a-9820-1854-a7e5-b219ef1260b6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85F8:1DD6:4286C3:53372F:697D6E05 |
| html-safe-nonce | 3f468d3d4ed2557cfa084e3a3936970ae23e832f2e30eb90a783c2423844e87c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUY4OjFERDY6NDI4NkMzOjUzMzcyRjo2OTdENkUwNSIsInZpc2l0b3JfaWQiOiIxMzQ4NjUyOTYyODc1Nzk2OTk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 30f99d7f52d91c356a918aee31af30191c7576e474acbc5d220a3a194bac9a92 |
| hovercard-subject-tag | issue:845901219 |
| 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/JavaWebStack/orm/22/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9bd3b90bde66e56e5ca2c0ddcd58890f9d83cf36b2aafefa77c5dd09be6792ed/JavaWebStack/orm/issues/22 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9bd3b90bde66e56e5ca2c0ddcd58890f9d83cf36b2aafefa77c5dd09be6792ed/JavaWebStack/orm/issues/22 |
| og:image:alt | Describe the Bug The .order() method on the Query overwrites itself and only saves the last instance. This makes it impossible to sensible write queries which require multiple order by statements. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TimothyGillespie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaWebStack/orm git https://github.com/JavaWebStack/orm.git |
| octolytics-dimension-user_id | 73674659 |
| octolytics-dimension-user_login | JavaWebStack |
| octolytics-dimension-repository_id | 308479502 |
| octolytics-dimension-repository_nwo | JavaWebStack/orm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 308479502 |
| octolytics-dimension-repository_network_root_nwo | JavaWebStack/orm |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width