|
|
@@ -71,14 +71,15 @@ add_action( 'rest_api_init', function () {
|
|
71
|
71
|
|
|
72
|
72
|
$episode_sorts = ['by_episode'];
|
|
73
|
73
|
$by_episode_types = [
|
|
74
|
|
- 'artist', 'guide', 'short'
|
|
|
74
|
+ 'artist', 'guide', 'short',
|
|
|
75
|
+ 'technique'
|
|
75
|
76
|
];
|
|
76
|
77
|
_make_sorts($by_episode_types, $episode_sorts);
|
|
77
|
78
|
|
|
78
|
79
|
$material_sorts = ['by_material'];
|
|
79
|
80
|
$by_material_types = [
|
|
80
|
81
|
'artist', 'guide', 'short',
|
|
81
|
|
- 'object', 'publication',
|
|
|
82
|
+ 'object', 'publication', 'technique'
|
|
82
|
83
|
];
|
|
83
|
84
|
_make_sorts($by_material_types, $material_sorts);
|
|
84
|
85
|
|