Skip to content

Commit

Permalink
[5.x] Allow for large field configs in filters (#10822)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Sep 25, 2024
1 parent b206af9 commit 5e7f3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/publish/FieldMeta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default {
value: this.value,
};
this.$axios.get(cp_url('fields/field-meta'), { params }).then(response => {
this.$axios.post(cp_url('fields/field-meta'), params).then(response => {
this.meta = response.data.meta;
this.value = response.data.value;
this.loading = false;
Expand Down
1 change: 1 addition & 0 deletions routes/cp.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
Route::post('edit', [FieldsController::class, 'edit'])->name('fields.edit');
Route::post('update', [FieldsController::class, 'update'])->name('fields.update');
Route::get('field-meta', [MetaController::class, 'show']);
Route::post('field-meta', [MetaController::class, 'show']);
Route::delete('fieldsets/{fieldset}/reset', [FieldsetController::class, 'reset'])->name('fieldsets.reset');
Route::resource('fieldsets', FieldsetController::class)->except(['show']);
Route::get('blueprints', [BlueprintController::class, 'index'])->name('blueprints.index');
Expand Down

0 comments on commit 5e7f3ca

Please # to comment.