Commit Graph

250 Commits

Author SHA1 Message Date
Atul Pratap Singh
2819506bb0 Have single-sort url besides multi-sort for each column and make single-sort default on click
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2014-07-01 23:32:05 +05:30
Ann + J.M
6b778e09d9 Fix coding style
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-06-22 16:34:34 +02:00
Marc Delisle
a30405fe0b bug #4467 shell_exec() has been disabled for security reasons
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-20 15:39:09 -04:00
Ann + J.M
69ddb29989 Code style fixes
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-05-19 22:33:01 +02:00
Marc Delisle
f46865c660 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-11 09:34:51 -04:00
Marc Delisle
ea3447ed8e Previous fix for notices was incorrect
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-06 08:56:53 -04:00
Marc Delisle
a0cdd1f97f Fix notices
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-06 08:43:35 -04:00
Marc Delisle
9fa2ea5a0f Show sorted column message for all of the sorted columns, not just the last one
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-06 08:32:45 -04:00
Marc Delisle
153b6c1497 Fix incorrect number of returned parameters
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-06 08:30:09 -04:00
Chanaka Indrajith
e24d4c3f90 Improved function logic to one statement and remove unnecessary functions
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-04-05 22:49:13 +05:30
Ashutosh Dhundhara
5ea6345adb Filter rows option on "Browse" table page.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Filter rows feature on "Browse" table page.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Included table filter plugin in tbl_select.php.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-03-31 17:52:48 +05:30
Chanaka Indrajith
a2caec9cc6 Remove unused parameters
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-03-30 00:10:31 +05:30
Chanaka Indrajith
d27bbe6f9d Fixed naming convention for private method makeURL
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-03-29 23:04:14 +05:30
Chanaka Indrajith
4071c6eaa6 Remove unused parameters in _getSortingUrlParams() function
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-03-29 22:52:39 +05:30
Chanaka Indrajith
60e33b5a59 Fixed some code violations
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-03-29 22:41:43 +05:30
Marc Delisle
81345e9b53 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-03-26 12:39:52 -04:00
Aditya Sastry
a05ab9640b Multicolumn sorting feature request(1507)
This patch completely implements the feature requested and it modifies 4
existing files and adds one extra Javascript file. The existing system for
one column sorting has been refactored to be used for multicolumn sort.

Files messages.php and makegrid.js where modified to add the tool tip.

File sql.php was modified to add the import statement for the newly added JS
file.

The newly added columndelete.js is responsible for shift deleting the columns.
It gets the url of the link that was shift clicked and removes the name of the
column which we want to remove from the order by clause.

Finally, most of the crux of this feature request is implemented through
changes to the DisplayResult.class.php. 4 methods of this class have been
refactored to accomodate the required change. getsortparams() which process
the order by clause text remains the same, just the output parameters have
been turned into a array for each order by clause column. isInSort() has been
modified to check multiple order by clauses. The smart ordering feature in
to form a new function makeURL, which makes the url for multiple sorted table's
header's button's targets.

Signed-off-by: Aditya Sastry <ganeshaditya1@gmail.com>
2014-03-24 02:17:54 +05:30
Marc Delisle
5a1b20bf2a Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-02-19 12:38:22 -05:00
Marc Delisle
d20f0fee78 Merge branch 'QA_4_1' 2014-02-16 12:57:37 -05:00
Marc Delisle
06bd132d46 bug #4287 Printview - Always one column too much
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-02-16 12:57:01 -05:00
Marc Delisle
ae163e4d67 Merge commit '2453a15' 2014-02-03 12:30:23 -05:00
Michal Čihař
2caa9aac7b Merge remote-tracking branch 'origin/QA_4_1'
Conflicts:
	libraries/DisplayResults.class.php
2014-02-03 09:25:00 +01:00
Michal Čihař
f5b8267ed0 Remove string at the end of file 2014-02-03 09:24:10 +01:00
Viduranga Wijesooriya
2453a15174 #1498 Add timepicker for 'TIME' type
Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>
2014-02-03 09:28:20 +05:30
Hugues Peccatte
ddf0b8d632 Minor PHPCS corrections.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-31 21:59:29 +01:00
Hugues Peccatte
e729237a2d Minor PHPCS corrections.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-31 21:45:05 +01:00
Marc Delisle
82a549714e Fix merge conflict
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-31 08:22:29 -05:00
Viduranga Wijesooriya
8cc01b38ae bug#4257 - fixed test failures
Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>
2014-01-31 12:09:46 +05:30
Viduranga Wijesooriya
d483b9f03a fixed bug #4257 Hide fractional seconds
Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>
2014-01-30 16:09:55 +05:30
Marc Delisle
3d72b1cc87 Fix typos
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-24 08:24:14 -05:00
Michal Čihař
67242280e2 Avoid concatenating message, it can be hard to properly translate
Signed-off-by: Michal Čihař <mcihar@suse.cz>
2014-01-23 10:48:55 +01:00
Michal Čihař
479caffc14 End sentences with punctuation
Signed-off-by: Michal Čihař <mcihar@suse.cz>
2014-01-23 10:43:50 +01:00
Madhura Jayaratne
6335b10574 Fix coding style
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 14:35:15 +05:30
Marc Delisle
336d9decba Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-06 08:47:44 -05:00
Michal Čihař
04f98964ec End sentence with full stop
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-01-06 12:55:31 +01:00
Marc Delisle
870561686d Merge branch 'QA_4_1' 2014-01-03 13:02:14 -05:00
Marc Delisle
157154f20d bug #3885 Additional fix for this bug
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-03 13:00:02 -05:00
Hugues Peccatte
4f05a8abfa Merge pull request #808 from Tithugues/nestedLevels
Nested levels
2013-12-27 05:33:10 -08:00
Hugues Peccatte
f212321f88 Unset unused local variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-21 23:27:33 +01:00
Hugues Peccatte
24158361d3 Reduce nested levels.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-21 23:24:44 +01:00
Hugues Peccatte
37f90df60d Fix PHPCS errors.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-20 23:34:52 +01:00
Marc Delisle
63b1af983f Make the choices similar to other directives
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-05 13:27:54 -05:00
Chanaka Indrajith
30522c8d5f Rename the global variable from row_action_type to RowActionType
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2013-12-05 23:31:50 +05:30
Chanaka Indrajith
113f8f490e Feature 1455 - Display image,text or both in table row actions area
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2013-12-04 23:59:08 +05:30
Hugues Peccatte
3431c6be8e Fix sort on columns which uses function with column between back quotes. 2013-11-15 22:30:34 +01:00
Marc Delisle
1a0eff3a9c Fix typos 2013-11-12 07:16:20 -05:00
Marc Delisle
548d4f2b3c Fix coding style 2013-11-11 14:03:59 -05:00
Hugues Peccatte
927ba37a76 Minor fix for uninitialized vars. 2013-11-11 16:19:12 +01:00
Marc Delisle
e0d7c65ddd Fix coding style 2013-11-11 07:16:31 -05:00
Marc Delisle
d02c8b94f6 Fix coding style 2013-11-11 06:59:33 -05:00