https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30663
Bug ID: 30663
Summary: API (/api/v1/suggestions) won't honor
MaxOpenSuggestions
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
To recreate:
-Set MaxOpenSuggestions to something low, like 1.
-Make some suggestions via the API, making sure they are not anonymous and they
include a status of 'ASKED'.
-You can make as many requests as you want, regardless of MaxOpenSuggestions.
I am using this simple jQuery snippet to test:
$.ajax({
type: 'POST',
url: '/api/v1/suggestions/',
data: '{"collection_title": "dasdas", "suggested_by": 5}',
success: function(data) { console.log('suggestion added'); },
contentType: "application/json",
dataType: 'json'
});
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/