Skip to content

Commit

Permalink
Merge pull request #98 from com-pas/fix-ordering-list-of-scl
Browse files Browse the repository at this point in the history
Added ordering to the list of SCLs
  • Loading branch information
Flurb authored Sep 20, 2021
2 parents 695f9d7 + a05497d commit c873b6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Check [basexhttp on DockerHub](https://hub.docker.com/r/basex/basexhttp/) for a
You can run your application in dev mode that enables live coding using:

```shell script
./mvnw package io.quarkus:quarkus-maven-plugin:2.0.0.Final:dev
./mvnw package io.quarkus:quarkus-maven-plugin:2.2.2.Final:dev
```

> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public List<Item> list(SclType type) {
" let $latestScl := local:latest-version($db, $id)\n" +
" let $version := $latestScl//scl:SCL/scl:Header/@version\n" +
" let $name := $latestScl//scl:SCL/scl:Private[@type='" + COMPAS_SCL_EXTENSION_TYPE + "']/compas:" + COMPAS_SCL_NAME_EXTENSION + "\n" +
" order by fn:lower-case($name)\n" +
" return '<Item xmlns=\"" + SCL_DATA_SERVICE_V1_NS_URI + "\"><Id>' || $id || '</Id><Name>' || $name || '</Name><Version>' || $version || '</Version></Item>'",
sclDataMarshaller::unmarshal);
}
Expand Down

0 comments on commit c873b6a

Please sign in to comment.