Given a list of Things, filter according to;
- a max number of items with a field with a certain value (eg brand, category, type, tag)
- a maximum size of the list
Kind of like "group by having max" in SQL
So for example given a list, and you want to pick the first 5 fruit, but no more than 2 of every fruit
{ id: 1, text: 'apple'},
{ id: 2, text: 'banana' },
{ id: 3, text: 'apple' },
{ id: 4, text: 'apple' },
{ id: 5, text: 'apple' },
{ id: 6, text: 'grape' },
{ id: 7, text: 'banana' },
{ id: 8, text: 'kiwi' },
{ id: 9, text: 'orange' },
{ id: 10, text: 'mango' },
The plugin would return
{ id: 1, text: 'apple'},
{ id: 2, text: 'banana' },
{ id: 3, text: 'apple' },
{ id: 6, text: 'grape' },
{ id: 7, text: 'banana' }
ie 5 items, with only up to 2 of each item in the list.
You pass in any list of Bubble objects, the plugin returns the filtered list of the same object type.
Saves a lot of WU, rather than doing a lot of expensive recursive Bubble process.
Purchase of the plugin comes with reasonable support to get you up and running.
Contact me in the forum @lindsay_knowcode or email me at lindsay @knowcode.tech
I've over 50 plugins in the Market Place - all my plugins come with reasonable support to get you up and running.
I am the creator of Plan B - Backups for Bubble Apps.
https://planbbackups.ioI create plugins for complex integrations.
Flow Charts - Business diagrams in Bubble
https://bubble.io/plugin/flow-charts-1673968620785x258403360966967300Adobe PDF - with commentings and annotating
https://bubble.io/plugin/adobe-pdf---with-commenting-1633396514551x410372775588659200Etsy -
https://bubble.io/plugin/etsy-integration-1703292143599x255798298638549000Square ACH and Embedded Cards
https://bubble.io/plugin/square-embedded-card--ach-1654618927193x637538826809245700SSH & SFTP
https://bubble.io/plugin/ssh--sftp-commands-1684859796824x533713044810760200Almighty dropzone - upload to GCS, Backblaze, Wasabi, AWS ... and more
https://bubble.io/plugin/upload-gcs-backblaze-wasabi-+++-1648644338633x187011566245249020Postmark - for templates
https://bubble.io/plugin/postmark-template-1639362726262x203274658985279500Google Sheets Get/Insert/Update
https://bubble.io/plugin/google-sheet-get-insert--update-1663938003776x932115872220446700I do a suite of realtime Speech & Audio processing plugins;
Deepgram - realtime speeach to text with diarization
https://bubble.io/plugin/deepgram-realtime-transcription-1676726070867x623253573730041900Speechmatics - realtime voice translation
https://bubble.io/plugin/speechmatics---realtime-translation-1701815413039x813343498074587100ElevenLabs - realtime synthetic voices
https://bubble.io/plugin/elevenlabs-streaming-text-to-voice-1678812542328x297771263648333800AssemblyAI - realtime voice to text
https://bubble.io/plugin/assemblyai-realtime-transcription-1666200218972x408222199372578800Audo Recorder Pausible - with a beautiful visualisation
https://bubble.io/plugin/audio-recorder-pausable-1684661794734x134627875732586500