From 0ede85d0a9563ba0620d6154570fc0d09beef7ff Mon Sep 17 00:00:00 2001
From: Alex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com>
Date: Wed, 10 May 2017 17:39:12 +0200
Subject: [PATCH] Bug 7317: Invoke `handle_commit_maybe` on custom
 capabilities.

* ill/ill-requests.pl: Invoke `handle_commit_maybe` on custom
  capabilities in our controller to handle 'commit' stage.
---
 ill/ill-requests.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl
index 5ab56b8722..26cb350a67 100755
--- a/ill/ill-requests.pl
+++ b/ill/ill-requests.pl
@@ -212,6 +212,9 @@ if ( $op eq 'illview' ) {
         whole => $backend_result,
         request => $request,
     );
+
+    # handle special commit rules & update type
+    handle_commit_maybe($backend_result, $request);
 }
 
 # Get a list of backends
-- 
2.12.2