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

US965: Holdings/items for ebooks #537

Merged
merged 6 commits into from
Oct 4, 2019
Merged

US965: Holdings/items for ebooks #537

merged 6 commits into from
Oct 4, 2019

Conversation

Garfield-fr
Copy link
Contributor

  • fixture: implement ebooks holdings rero-ils and unit test fixtures
  • ebooks: create holdings automatically after record harvesting
  • form options: item type and location
  • Adds online locations.
  • Adds online item types.
  • Adds circulation policies for ebooks.
  • Adds online type to item types resource.
  • Adds is_online to location resource.
  • Adds online_harvested_source to the organisation resource.
  • Adds extended validation for the resource location field is_online.
  • Adds extended validation for the resource item_type field type.
  • Adds an option to setup script to continue process after holding_items generation.
  • Fixes some variables snake cases.
  • Fixes typos.
  • Adds custom widgets
  • Adds a new column "type" on item_type
  • Adds a new column "is_online" on location

How to test?

  • ./script/bootstrap
  • ./script/setup (with harvested ebook)
  • Document detail view: check ebook link below holding
  • Item Type Form: new option online (unicity)
  • Location form: new option is_online (unicity)

Co-Authored-by: Aly Badr [email protected]
Co-Authored-by: Bertrand Zuchuat [email protected]
Co-Authored-by: Alicia Zangger [email protected]

@Garfield-fr Garfield-fr changed the title Holdings/items for ebooks US965: Holdings/items for ebooks Oct 1, 2019
@pronguen pronguen requested a review from rerodak October 1, 2019 13:17
Copy link

@rerodak rerodak left a comment

Choose a reason for hiding this comment

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

Problems observed:

  • Ebooks are not displayed/indexed in the local views
  • Ebooks are displayed in the local views if they have a physical items
  • In the global view, the organisation facet has wrong count for ebooks
  • Availability info should not be displayed for ebooks. It is displayed in the document detailed view, when the holding is not expanded.
  • Number of items should never be displayed for ebooks. It is displayed in the document detailed view, on the holding.

Alicia Zangger and others added 3 commits October 2, 2019 10:47
* Adds online locations.
* Adds online item types.
* Adds circulation policies for ebooks.

Co-Authored-by: Alicia Zangger <[email protected]>
* Adds online type to item types resource.
* Adds is_online to location resource.
* Adds online_harvested_source to the organisation resource.
* Adds extended validation for the resource location field is_online.
* Adds extended validation for the resource item_type field type.
* Adds an option to setup script to continue process after holding_items generation.
* Fixes some variables snake cases.
* Fixes typos.

Co-Authored-by: Alicia Zangger <[email protected]>
Co-Authored-by: Bertrand Zuchuat <[email protected]>
Co-Authored-by: Aly Badr <[email protected]>
Co-Authored-by: Bertrand Zuchuat <[email protected]>
Co-Authored-by: Alicia Zangger <[email protected]>
* Adds custom widgets
* Adds a new column "type" on item_type
* Adds a new column "is_online" on location

Co-Authored-by: Bertrand Zuchuat <[email protected]>
Co-Authored-by: Alicia Zangger <[email protected]>
@rerowep rerowep requested a review from rerodak October 3, 2019 11:07
@Garfield-fr Garfield-fr merged commit e64e257 into dev Oct 4, 2019
@BadrAly BadrAly deleted the US965 branch October 8, 2019 09:32
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.

3 participants