Compare commits

..

1 Commits

Author SHA1 Message Date
Nabeel Shahzad
18206f4601 Update the meta link to include query strings 2021-06-10 19:29:25 -04:00
3 changed files with 12 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ class CustomPaginatedResourceResponse extends PaginatedResourceResponse
protected function meta($paginated)
{
return Arr::except($paginated, [
$meta = Arr::except($paginated, [
'data',
'first_page_url',
'last_page_url',
@@ -27,5 +27,7 @@ class CustomPaginatedResourceResponse extends PaginatedResourceResponse
'next_page_url',
'links',
]);
$meta['path'] = $meta['path'] + request()->query();
}
}

16
package-lock.json generated
View File

@@ -1,5 +1,5 @@
{
"name": "npm-proj-1623366828576-0.08602387579422599KTvlqG",
"name": "phpvms",
"lockfileVersion": 2,
"requires": true,
"packages": {
@@ -12,7 +12,7 @@
"bootstrap": "~4.3",
"bootstrap-sass": "^3.4.1",
"bootstrap3": "npm:bootstrap@~3.4",
"ckeditor4": "^4.16.1",
"ckeditor4": "4.14.0",
"cookieconsent": "^3.1.0",
"cross-env": "^5.1.6",
"eonasdan-bootstrap-datetimepicker": "^4.17.47",
@@ -2861,9 +2861,9 @@
}
},
"node_modules/ckeditor4": {
"version": "4.16.1",
"resolved": "https://registry.npmjs.org/ckeditor4/-/ckeditor4-4.16.1.tgz",
"integrity": "sha512-dfclP3QDQfXMOrPex3s/l6b5E+MBSxhMpW3+nUM6lFX3ax1u/1tl2ETpe7iYJRtoN4TdvddL5XFweQT17woN5A=="
"version": "4.14.0",
"resolved": "https://registry.npmjs.org/ckeditor4/-/ckeditor4-4.14.0.tgz",
"integrity": "sha512-g5p3bhbxbwB094bE7ss0rOyvG/azYdRjLTyngnPM2+fKZhnPrMVaFDx3SiiWKB+zyvndT3Deu54VTv/z2MQJCA=="
},
"node_modules/class-utils": {
"version": "0.3.6",
@@ -16702,9 +16702,9 @@
}
},
"ckeditor4": {
"version": "4.16.1",
"resolved": "https://registry.npmjs.org/ckeditor4/-/ckeditor4-4.16.1.tgz",
"integrity": "sha512-dfclP3QDQfXMOrPex3s/l6b5E+MBSxhMpW3+nUM6lFX3ax1u/1tl2ETpe7iYJRtoN4TdvddL5XFweQT17woN5A=="
"version": "4.14.0",
"resolved": "https://registry.npmjs.org/ckeditor4/-/ckeditor4-4.14.0.tgz",
"integrity": "sha512-g5p3bhbxbwB094bE7ss0rOyvG/azYdRjLTyngnPM2+fKZhnPrMVaFDx3SiiWKB+zyvndT3Deu54VTv/z2MQJCA=="
},
"class-utils": {
"version": "0.3.6",

View File

@@ -17,7 +17,7 @@
"bootstrap": "~4.3",
"bootstrap-sass": "^3.4.1",
"bootstrap3": "npm:bootstrap@~3.4",
"ckeditor4": "4.16.1",
"ckeditor4": "4.14.0",
"cookieconsent": "^3.1.0",
"cross-env": "^5.1.6",
"eonasdan-bootstrap-datetimepicker": "^4.17.47",