| @@ 1105-1112 (lines=8) @@ | ||
| 1102 | ||
| 1103 | break; |
|
| 1104 | ||
| 1105 | case 'date' : |
|
| 1106 | $es_query_args['sort'][] = array( |
|
| 1107 | 'date' => array( |
|
| 1108 | 'order' => $args['order'], |
|
| 1109 | ), |
|
| 1110 | ); |
|
| 1111 | ||
| 1112 | break; |
|
| 1113 | ||
| 1114 | case 'ID' : |
|
| 1115 | $es_query_args['sort'][] = array( |
|
| @@ 1114-1121 (lines=8) @@ | ||
| 1111 | ||
| 1112 | break; |
|
| 1113 | ||
| 1114 | case 'ID' : |
|
| 1115 | $es_query_args['sort'][] = array( |
|
| 1116 | 'id' => array( |
|
| 1117 | 'order' => $args['order'], |
|
| 1118 | ), |
|
| 1119 | ); |
|
| 1120 | ||
| 1121 | break; |
|
| 1122 | ||
| 1123 | case 'author' : |
|
| 1124 | $es_query_args['sort'][] = array( |
|