stable

Clone or download

Read-only

Add some typehinting in docman filter

part of story #24197 search for Documents with criteria No functional changes: Access to advanced search - no error when nothing is searched - no error for advanced search - no error for search on criteria Why this change: According to US AC, I'll need to build a Report to be provided to DocmanItem_Dao::searchByGroupId My report will have two information needed for REST route: - $filters: a list of Docman_Filter (filter to apply to query to search in db) - $columns: columns returned by query In order to add my advanced search criteria, I'll need to build a `Docman_FilterGlobalText` from a Docman_Metadata: Change-Id: I4fbe62ce88344efe752e8f8fab4754d7847ecc11

Modified Files

Name
M plugins/docman/include/Docman_Filter.php +6 −6 Go to diff View file
M plugins/docman/include/Docman_FilterDate.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_FilterDateAdvanced.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_FilterFactory.class.php +16 −7 Go to diff View file
M plugins/docman/include/Docman_FilterGlobalText.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_FilterItemType.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_FilterItemTypeAdvanced.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_FilterList.php +3 −3 Go to diff View file
M plugins/docman/include/Docman_FilterListAdvanced.php +4 −4 Go to diff View file
M plugins/docman/include/Docman_FilterOwner.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_FilterText.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_ItemDao.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_ItemFactory.class.php +1 −0 Go to diff View file
M plugins/docman/include/Docman_MetadataFactory.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_Report.class.php +19 −9 Go to diff View file
M plugins/docman/include/Docman_ReportFactory.class.php +1 −1 Go to diff View file