Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionHistoryController.php
| Show All 13 Lines | public function processRequest() { | ||||
| $page_size = $request->getInt('pagesize', 100); | $page_size = $request->getInt('pagesize', 100); | ||||
| $offset = $request->getInt('offset', 0); | $offset = $request->getInt('offset', 0); | ||||
| $params = array( | $params = array( | ||||
| 'commit' => $drequest->getCommit(), | 'commit' => $drequest->getCommit(), | ||||
| 'path' => $drequest->getPath(), | 'path' => $drequest->getPath(), | ||||
| 'offset' => $offset, | 'offset' => $offset, | ||||
| 'limit' => $page_size + 1); | 'limit' => $page_size + 1, | ||||
| ); | |||||
| if (!$request->getBool('copies')) { | if (!$request->getBool('copies')) { | ||||
| $params['needDirectChanges'] = true; | $params['needDirectChanges'] = true; | ||||
| $params['needChildChanges'] = true; | $params['needChildChanges'] = true; | ||||
| } | } | ||||
| $history_results = $this->callConduitWithDiffusionRequest( | $history_results = $this->callConduitWithDiffusionRequest( | ||||
| 'diffusion.historyquery', | 'diffusion.historyquery', | ||||
| ▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines | |||||