Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
ls.ext
Commits
ac49a075
Commit
ac49a075
authored
Apr 06, 2018
by
Petter Goksøyr Åsen
Browse files
patron-client: fix sortig of mediatype groups
parent
621f71e8
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
redef/patron-client/src/frontend/components/Publications.js
View file @
ac49a075
...
...
@@ -232,13 +232,7 @@ class Publications extends React.Component {
if
(
a
===
'
http://data.deichman.no/mediaType#Book
'
)
{
return
-
1
}
if
(
a
<
b
)
{
return
-
1
}
if
(
a
>
b
)
{
return
1
}
return
0
return
1
}
Object
.
keys
(
publicationHoldersByMediaType
).
forEach
(
mediaTypeUri
=>
{
publicationHoldersByMediaType
[
mediaTypeUri
].
sort
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment