Skip to content

Commit 5cfc919

Browse files
authored
comment
1 parent 3048968 commit 5cfc919

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/js/composables/usePaginatedData.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export function usePaginatedData(
6262
const params = qs.parse(queryString, {
6363
ignoreQueryPrefix: true,
6464
strictNullHandling: true,
65+
// set empty string values to null to match Laravel backend behavior
6566
decoder: function (str, defaultDecoder) {
6667
const value = defaultDecoder(str);
6768
return value === '' ? null : value;

0 commit comments

Comments
 (0)