Selaa lähdekoodia

:recycle: adding endpoints for technique sort-bys

tags/0.9.0
J 4 vuotta sitten
vanhempi
commit
3bab47487f
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3
    2
      plugins/cia-endpoints/cia-end-points.php

+ 3
- 2
plugins/cia-endpoints/cia-end-points.php Näytä tiedosto

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

Loading…
Peruuta
Tallenna