This issue has been created
There is 1 update.
 
 
Book Versions / cid:jira-generated-image-avatar-02d0df49-33ca-4934-a59b-40813c813933 BVERSION-34 Open

The same library is displayed many times for each book version in the libraries administration UI

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ed0d18de-d5bd-4a13-a14b-050896e07a4c Mathieu Pace created this issue on 05/Dec/24 17:04
 
Summary: The same library is displayed many times for each book version in the libraries administration UI
Issue Type: cid:jira-generated-image-avatar-02d0df49-33ca-4934-a59b-40813c813933 Bug
Assignee: Unassigned
Created: 05/Dec/24 17:04
Priority: cid:jira-generated-image-static-major-60756bbf-712b-4180-b6ce-4474d6e67101 Major
Reporter: Mathieu Pace
Description:

Reproduction

  1. Create a book
  2. Create 2 versions (v1, v2)
  3. Create two libraries (libA, libB), each with at least on version (libA/BV1)
  4. In the administration UI for libraries of the book, add each library
  5. You will see something like this:

 

Title Library Library Version
V1 LibA libAV1
V1 LibA libAV1
V2 LibA libAV1
V2 LibA libAV1

instead of:

 

Title Library Library Version
V1 LibA libAV1
V1 LibB libBV1
V2 LibA libAV1
V2 LibB libBV1

Solution

Default LiveData is for displaying pages, not different objects of the same class in the same page.

A custom result for the LiveData should be provided to display one object per line

 
 

1 update

 
cid:jira-generated-image-avatar-ed0d18de-d5bd-4a13-a14b-050896e07a4c Changes by Mathieu Pace on 05/Dec/24 17:06
 
Description: h1. Reproduction
# Create a book
# Create 2 versions (v1, v2)
# Create two libraries (libA, libB), each with at least on version (libA/BV1)
# In the administration UI for libraries of the book, add each library
# You will see something like this:

 
||Title||Library||Library Version||
|V1|LibA|libAV1|
|V1|LibA|libAV1|
|V2|LibA|libAV1|
|V2|LibA|libAV1|

instead of:

 
||Title||Library||Library Version||
|V1|LibA|libAV1|
|V1|LibB|libBV1|
|V2|LibA|libAV1|
|V2|LibB|libBV1|

+*Important note:*+ the objects are well set in each version pages, it's just the display which have a problem
h1. Solution

Default LiveData is for displaying pages, not different objects of the same class in the same page.

A custom result for the LiveData should be provided to display one object per line
.

It would be best if the Library Version could be changed in place.