Number of batch samples#2789
Conversation
|
Hi @Lunga001, this PR is still marked as "Draft". |
|
Hi @ramonski I missed this one, I wasn't sure if |
|
Hi @Lunga001, Regarding the sorting, it is a bit tricky because any index would need to get updated as soon as samples are assigned/unassigned from a batch. Therefore, I would rely on the manual sorting. Maybe a good idea would be to move the count method directly to the Batch content class. |
…ivision types" This reverts commit 41d8a94.
|
Hi @ramonski, Thank you for the review. Would you please take a look and let me know if this is what you had in mind? Kindest regards |
Description of the issue/feature this PR addresses
On th batch listing(batches) add a column that shows the number of samples

Current behavior before PR
On the Batch Listing(Batches) there isn't a column that shows the number of samples that are on the batch
Desired behavior after PR is merged
To have a column that shows the number of samples that are on a batch.

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.