Bug 35616: Update catalog concerns to set/filter on source
This patch updates the catalog concerns feature to respect the new 'source' field in the API. We both set the source for new ticket submissions and use it for filtering in the corresponding display tables. To test: 1) Nothing should noticably change here.. follow the test plan for bug 31028 and confirm all continues to work as described there. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
576b253782
commit
47a75e62e6
|
|
@ -1023,6 +1023,7 @@
|
|||
return;
|
||||
}
|
||||
},
|
||||
source: 'catalog',
|
||||
biblio_id: [% biblionumber | uri %]
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,8 @@
|
|||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
},
|
||||
source: 'catalog'
|
||||
};
|
||||
|
||||
var tickets_url = '/api/v1/tickets';
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ $(document).ready(function() {
|
|||
let reporter_id = $('#concern_reporter').val();
|
||||
|
||||
let params = {
|
||||
source: 'catalog',
|
||||
title: concern_title,
|
||||
body: concern_body,
|
||||
biblio_id: biblio_id,
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ $(document).ready(function() {
|
|||
let reporter_id = $('#concern_reporter').val();
|
||||
|
||||
params = {
|
||||
source: 'catalog',
|
||||
title: concern_title,
|
||||
body: concern_body,
|
||||
biblio_id: biblio_id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue