Bug 37277: Detach identifiers on the local title list view
If a local title has both ISBN (Print) and ISBN (Online) the 2 values
are concanetate on the same line without space on the the local title
list view.
With this patch they are now separated by a new line.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 618b6986f2)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
79eb94bcc4
commit
2b0ac7096f
|
|
@ -223,22 +223,22 @@ export default {
|
|||
render: function (data, type, row, meta) {
|
||||
let print_identifier = row.print_identifier
|
||||
let online_identifier = row.online_identifier
|
||||
return (
|
||||
(print_identifier
|
||||
return [
|
||||
print_identifier
|
||||
? escape_str(
|
||||
__("ISBN (Print): %s").format(
|
||||
print_identifier
|
||||
)
|
||||
)
|
||||
: "") +
|
||||
(online_identifier
|
||||
: "",
|
||||
online_identifier
|
||||
? escape_str(
|
||||
__("ISBN (Online): %s").format(
|
||||
online_identifier
|
||||
)
|
||||
)
|
||||
: "")
|
||||
)
|
||||
: "",
|
||||
].join("<br/>")
|
||||
},
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue