Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

holdings: display holdings records #499

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

BadrAly
Copy link

@BadrAly BadrAly commented Sep 13, 2019

  • Adds holdings records display to the document detailed view.

Co-Authored-by: Sebastien Deleze [email protected]
Co-Authored-by: Aly Badr [email protected]
Co-Authored-by: bertrand Zuchuat [email protected]

To test:

  • display a document detailed view and make sure information about holdings and items are displayed correctly

Copy link
Contributor

@pronguen pronguen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • for available items, we should display "green dot + on shelf" ("available" is generic, for holding and document availability)
  • For holding location, we should display "library code: location name"
  • the loan status (for example "on_loan", "on_shelf") should not be displayed. The availability information is sufficient.
  • Some documents have empty holdings (doc 277, doc 277, doc 284). It should be impossible.

@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch 2 times, most recently from 628163b to 02fe633 Compare September 16, 2019 15:12
@BadrAly
Copy link
Author

BadrAly commented Sep 16, 2019

* Some documents have empty holdings ([doc 277](https://ilsdev.test.rero.ch/aoste/documents/274), [doc 277](https://ilsdev.test.rero.ch/aoste/documents/274), [doc 284](https://ilsdev.test.rero.ch/aoste/documents/284)). It should be impossible.

it depends on the view.

For example:
(doc 277 aoste (one item unavailable in Aoste, one item unavailable at highlands but we can not display the item of highlands).
Should we hide the holding of highlands in this case?

(doc 277 highlands (one item available in highlands, one item unavailable at Aoste but we can not display the item of Aoste).
Should we hide the holding of Aoste in this case?

(doc 277 global (two items are displayed).

@pronguen
Copy link
Contributor

(doc 277 aoste (one item unavailable in Aoste, one item unavailable at highlands but we can not display the item of highlands).
Should we hide the holding of highlands in this case?

Of course. We should display in the views only the corresponding holdings!

@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch from 02fe633 to 8509909 Compare September 17, 2019 06:07
@BadrAly BadrAly requested a review from pronguen September 17, 2019 06:48
@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch 2 times, most recently from 3e7ad2d to c076ed2 Compare September 17, 2019 11:03
@BadrAly BadrAly requested review from jma and Garfield-fr September 17, 2019 11:04
@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch 2 times, most recently from acd8a1f to c043891 Compare September 17, 2019 11:21
@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch 2 times, most recently from 2b5d286 to e5fa667 Compare September 17, 2019 11:53
Copy link
Contributor

@pronguen pronguen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Adapt the holding and item display for small screens: the inline elements should appear one below the other

@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch 2 times, most recently from 895a873 to 9c71d2e Compare September 18, 2019 06:37
@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch from 9c71d2e to c63d8c2 Compare September 19, 2019 06:36
@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch from c63d8c2 to 0605535 Compare September 19, 2019 06:57
* Adds holdings records display to the document detailed view.

Co-Authored-by: Sebastien Deleze <[email protected]>
Co-Authored-by: Aly Badr <[email protected]>
Co-Authored-by: Bertrand Zuchuat <[email protected]>
@BadrAly BadrAly force-pushed the baa-#1025-display-holdings branch from 0605535 to 79c32f3 Compare September 19, 2019 08:21
@BadrAly BadrAly merged commit 2bc5120 into rero:dev Sep 19, 2019
@BadrAly BadrAly deleted the baa-#1025-display-holdings branch October 8, 2019 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants