Commit graph

39 commits

Author SHA1 Message Date
Benjamin Renard
6597a630cf LSsearch : add CLI search command 2020-04-29 19:20:59 +02:00
Benjamin Renard
c1bcad362d LSsearch : fix sorting by extraDisplayedColumns (on one setParams() call) 2020-04-29 19:19:40 +02:00
Benjamin Renard
2a5ef1bb4e Code cleaning 2020-04-29 15:54:21 +02:00
Benjamin Renard
6ea6b78fd4 LSsearch : fix possibility to specify a filter and a pattern (in the same time) 2020-04-29 15:31:30 +02:00
Benjamin Renard
103689d6ad LSsearch : Fix handling approx parameter 2020-02-18 12:35:08 +01:00
Benjamin Renard
278b084214 Add ['NB_LSOBJECT_LIST_CHOICES'] parameter 2019-09-04 11:49:06 +02:00
Benjamin Renard
2708dd01ee LSsearch : Add nbObjectsByPageChoices parameter 2019-09-04 11:26:09 +02:00
Benjamin Renard
59943dc3ee LSsearchEntry : Fix 'unknwon property error' on accessing undefined attribute 2019-04-18 15:43:01 +02:00
Benjamin Renard
a577417b69 LSsearch : make purgeParams() and purgeCache() methods static 2019-03-12 12:50:58 +01:00
Benjamin Renard
b577fe23a9 LSldapObject : solve static/non-static problem on getObjectFilter() method 2019-03-12 12:19:44 +01:00
Benjamin Renard
c357c70596 Explicitly defined class methods visibility and upgrade PHP class constructor syntax 2019-03-12 11:42:53 +01:00
Benjamin Renard
b9102aeb9e Code cleaning 2019-03-11 22:42:20 +01:00
Benjamin Renard
80b747a0c5 Add and use helper methods to access configuration parameters 2019-03-11 22:21:25 +01:00
Benjamin Renard
31b0b71312 LSsearch : Use strnatcmp instead of strcoll in sorting method 2018-06-11 12:06:55 +02:00
7ccd02e685 Fix search pattern validation 2018-06-09 00:07:44 +02:00
Benjamin Renard
7be590d842 Add generateFunction and additionalAttrs parameters for extraDisplayedColumns 2017-11-30 12:29:46 +01:00
Benjamin Renard
caa45fcc12 Add visibleTo parameter to extra displayed columns 2017-01-25 15:39:06 +01:00
Benjamin Renard
3f350d331c LSsearch : improve and add doc for formaterLSformat extraDisplayedColumns's parameter 2015-08-12 14:26:21 +02:00
Benjamin Renard
50511900a4 LSsearch : fix bug in sort direction 2014-11-04 12:34:20 +01:00
Benjamin Renard
8d989af946 LSsearch : add customAction feature 2014-10-08 17:24:30 +02:00
Pierre Arnaud
e8c0205810 _sortTwoEntry in class.LSsearch.php become case insensitive 2014-08-14 11:53:19 +02:00
Benjamin Renard
33cef8be28 LSobject : Add possibility to add extra displayed columns in search result 2014-06-17 16:08:41 +02:00
Benjamin Renard
2eee30bd17 LSsearch::setParams() : fixed attributes setting 2013-11-19 11:40:12 +01:00
Benjamin Renard
fe57bf75b0 LSsearch : Fixed bug on no attributes specifies in config for LSsearch 2013-07-11 12:35:00 +02:00
Benjamin Renard
b87d5207e7 LSsearch : Added searchLSformat and approxLSformat parameter for searched attributes 2013-06-28 09:44:02 +02:00
Benjamin Renard
2d80c4a852 LSsearch : Added onlyAccessible parameter 2013-02-08 13:42:41 +01:00
Benjamin Renard
c39bb162d0 redirectWhenOnlyOneResult() : Added urlencode() of object's DN in redirect URL 2012-05-03 12:39:50 +02:00
Benjamin Renard
699d69d23d LSsearch :: getSortTable() : Fixed notice PHP 2010-11-16 19:39:43 +01:00
Benjamin Renard
aa218fce3b LSsearch :: setParams() : Fixed notice PHP 2010-11-16 19:38:55 +01:00
Benjamin Renard
6792005de2 LSsearch :: loadParamsFromSession() : Fixed notice PHP 2010-11-16 19:38:02 +01:00
Benjamin Renard
2c100bc9e5 LSsearch -> setParams() : Fixed Notice PHP 2010-11-10 15:10:46 +01:00
Benjamin Renard
82bc4ae37d LSsearch -> saveParamsInSession() : Fixed Notice PHP 2010-11-09 17:36:22 +01:00
Benjamin Renard
e834323718 LSsearch : Fixed error message on invalid predefinedFilter detection. Updated translation consequently. 2010-08-27 19:00:26 +02:00
Benjamin Renard
f7d45c390f LSsearch : Added translation support for predefinedFilters labels 2010-02-19 14:48:26 +01:00
Benjamin Renard
530b4d86b3 LSsearch : Added error message on invalid filter detection in predefinedFilters 2010-02-19 14:25:07 +01:00
Benjamin Renard
6a78b6bde4 - LSsearch :
- Added formIsSubmited() method and use it in setParamsFormPostData() method
  - Added redirectWhenOnlyOneResult() method
- View :
  - Used LSsearch::redirectWhenOnlyOneResult() to redirect the user on object view page when the search return only on result
2010-02-14 18:45:39 +01:00
Benjamin Renard
6fefd7cb88 LSsearch : Added initial check of predefinedFilters validity/syntax before use. 2010-02-03 03:09:23 +01:00
Benjamin Renard
bc1a92ec35 LSsearch : added predefined filters parameters 2010-02-03 02:10:04 +01:00
Benjamin Renard
382cb1c994 Rename trunk directory to public_html 2009-11-13 14:26:11 +01:00
Renamed from trunk/includes/class/class.LSsearch.php (Browse further)