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

circ_policies ui: increase API size limit #509

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

zannkukai
Copy link
Contributor

@zannkukai zannkukai commented Sep 17, 2019

@zannkukai zannkukai force-pushed the ucl-#issue405_fix_api_size_limit branch 6 times, most recently from 3e00485 to 21fdada Compare September 23, 2019 09:12
@rerowep rerowep requested review from jma and Garfield-fr and removed request for jma September 25, 2019 08:17
Copy link
Contributor

@Garfield-fr Garfield-fr left a comment

Choose a reason for hiding this comment

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

Please delete on commit message:

  • use recordsService instead of specific component
    and
    run ./setup/boostrap

@zannkukai zannkukai force-pushed the ucl-#issue405_fix_api_size_limit branch from 21fdada to 5409b7b Compare September 25, 2019 09:33
this.itemTypeService.itemTypes(),
this.patronTypeService.patronTypes(),
this.loadAllCirculationPolicy()
this.recordsService.getRecords('global', 'item_types', 1, 9999),
Copy link
Contributor

Choose a reason for hiding this comment

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

these 9999 can be replaced by a variable or better in a configuration service (can be recordsService for the moment).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added 2 constants into RecordServices class : DEFAULT_REST_RESULTS_SIZE, MAX_REST_RESULTS_SIZE.

@zannkukai zannkukai force-pushed the ucl-#issue405_fix_api_size_limit branch from 5409b7b to f4c958d Compare September 25, 2019 18:45
@zannkukai zannkukai requested a review from jma September 25, 2019 18:47
@zannkukai zannkukai force-pushed the ucl-#issue405_fix_api_size_limit branch 3 times, most recently from b38ec06 to d8dbbac Compare October 1, 2019 19:45
* Closes rero#405

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
@zannkukai zannkukai force-pushed the ucl-#issue405_fix_api_size_limit branch from d8dbbac to 6a5a9c4 Compare October 7, 2019 08:33
@iGormilhit iGormilhit merged commit f9d91d2 into rero:dev Oct 9, 2019
@zannkukai zannkukai deleted the ucl-#issue405_fix_api_size_limit branch November 6, 2019 07:45
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.

4 participants