Some places, like the late orders table, display this info.
Created attachment 181879 [details] [review] Bug 39816: Allow embedding `late_since_days` in baskets This patch adds the option to embed the return value of the `late_since_days` method in basket objects in the REST API. It does so by just adding it to the list of embeds in the spec. It is added in every place baskets can be returned.
Created attachment 181880 [details] [review] Bug 39816: (follow-up) Harmonize embeds in baskets As I traversed the REST API spec to add the `late_since_days` embed option, I noticed an inconsistency in the embed options we defined in each place a basket is to be returned. This patch makes all the places have the same embed options.
Created attachment 181881 [details] [review] Bug 39816: Allow embedding `late_since_days` in baskets This patch adds the option to embed the return value of the `late_since_days` method in basket objects in the REST API. It does so by just adding it to the list of embeds in the spec. It is added in every place baskets can be returned.
Created attachment 181882 [details] [review] Bug 39816: (follow-up) Harmonize embeds in baskets As I traversed the REST API spec to add the `late_since_days` embed option, I noticed an inconsistency in the embed options we defined in each place a basket is to be returned. This patch makes all the places have the same embed options.
Patch doesn't apply: Applying: Bug 39816: Allow embedding `late_since_days` in baskets Using index info to reconstruct a base tree... M api/v1/swagger/definitions/basket.yaml M api/v1/swagger/paths/acquisitions_baskets.yaml M api/v1/swagger/paths/acquisitions_orders.yaml Falling back to patching base and 3-way merge... Auto-merging api/v1/swagger/paths/acquisitions_orders.yaml Auto-merging api/v1/swagger/paths/acquisitions_baskets.yaml CONFLICT (content): Merge conflict in api/v1/swagger/paths/acquisitions_baskets.yaml Auto-merging api/v1/swagger/definitions/basket.yaml CONFLICT (content): Merge conflict in api/v1/swagger/definitions/basket.yaml error: Failed to merge in the changes. Patch failed at 0001 Bug 39816: Allow embedding `late_since_days` in baskets hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem run "git bz apply --continue". If you would prefer to skip this patch, instead run "git bz apply --skip". To restore the original branch and stop patching run "git bz apply --abort". Patch left in /tmp/Bug-39816-Allow-embedding-latesincedays-in-baskets-7u_k12.patch
Created attachment 182069 [details] [review] Bug 39816: Allow embedding `late_since_days` in baskets This patch adds the option to embed the return value of the `late_since_days` method in basket objects in the REST API. It does so by just adding it to the list of embeds in the spec. It is added in every place baskets can be returned.
Created attachment 182070 [details] [review] Bug 39816: (follow-up) Harmonize embeds in baskets As I traversed the REST API spec to add the `late_since_days` embed option, I noticed an inconsistency in the embed options we defined in each place a basket is to be returned. This patch makes all the places have the same embed options.