Note: Regarding adding data fields (the second method explained in this video), it is best practice to minimize the number of fields you have per data type, even if they are lightweight. Therefore, a more efficient approach is to add a field type Country to each Capital. Then, you can have a 1x1 tiny Repeating Group on the page with Data Source: Do a search for Capitals (sorted by Name) Countrys, or Do a search for Capitals (sorted by Population) Countrys. The initial Repeating Group, if sorted, changes its data source to the 1x1 Repeating Group List of Countries. Shoutout to Bubble TipLister for suggesting this approach. His channel is ru-vid.com/show-UCKUxhqwxS8Ul_9oLLgHvWsw
Thanks! Yours is the first good demonstration I've seen for List Shifter. I tried your steps myself and it worked great. Keith made some videos himself but they're all over the place and hard to follow. List Shifter seems very useful and not hard to use but it's no fun guessing how it works. IMHO it needs more simple demonstrations like yours.
Great teaching, thanks a lot! There may be an update necessary here, if anyone's not being able to get it to work. I found that we must add another action to 'display list in repeating' group, otherwise the RG will not be updated automatically.
@@elentrepreneur2290 yes, so its a paid plugin called Floppy: localStorage, List Shifter, its like 19 dollars, and it allows you to sort by a fields's fields along with a ton of other stuff. it takes a bit to figure out to it works, but it works wonders
Hey Ali! There is, you can use backend triggers! This article by Petter is a good explainer: www.amliesolutions.com/bubble/basic-features/back-end-triggers/
Is there a way to use two sorting fields, similar as what bubble offers in the built-in sorting feature, without going through creating another listshifter element? I tried to add another SORT action in the same workflow, but as I see, just the last action keeps the effect. Context: I'm trying to sort items that contains a field of custom data-type called 'Period'. That 'Period' data-type have 'Year' field and 'Month' field. So I want to show the items in order of Period, which correct sorting is: Primarly sorted by Year, and secondarily sorted by Month.
Hello. I noticed that at exactly 3 minutes and 54 seconds of this video there is a cut, exactly in the part that shows the option ListShifterKW's Original List's Capital, giving the impression that there was a pause in the video and then an edition of it. However, when I use the plugin in my Bubble app, the CAPITAL field option does not appear, but only the normal fields, when we do not use the plugin. Can you help me understand what might be going on? Thank you.
Hey Luzonildo! The Capital field was created by me, it's part of the Country data type (meaning that it is the field's field). You will need to select here the field that you want to access in order to sort your RG.
Hola Pablo, muchas gracias por el video, creo que vas a ayudar a mucha gente con este tema!! Quisiera hacerte dos preguntas al respecto, sería posible hacer lo mismo sin necesidad de agregar un botón (es decir, que se haga en el mismo RG)? Y la otra sería .... se puede hacer también en un dropdown menu? De ser posible, podrías hacer un video al respecto? Desde ya te agradezco muchísimo por utilizar tu tiempo para hacer videos que pueden ayudar a muchas personas!!! Saludos, Gerardo
Hola Gerardo! Perdona que te responda tan tarde, me he dado cuenta hoy de que tenía este comentario sin responder. Te cuento: ¿Sería posible hacer lo mismo sin necesidad de agregar un botón (es decir, que se haga en el mismo RG)? Sí, podrías hacerlo al clicar en los títulos, por ejemplo. Simplemente sería replicar el workflow pero cambiar el inicio de la acción. ¿Se puede hacer también en un dropdown menu? Si el dropdown menu se basa en un Repeating Group tiene que poderse ordenar utilizando este método. Si me cuentas un poco más lo que quieres hacer te echo un cable! Saludos, Pablo
Hola!! Tengo un repeating group donde hay una lista de compañias y donde tengo que ordenar el repeating group en funcion de que empresa tuvo una variacion de ventas mas alta entre dos fechas. Esa variacion la calculo dentro del repeating grup (es un texto que busca ventas por la compañia de la cell, y las fechas que el usuario elije). El tema es que la variacion no es un dato, entonces hay manera de ordenar x variacion de mas alta a mas baja?
Hola Franco! Has probado a incluir un campo "variación de ventas" en el dato "Compañía" y actualizarlo al cambiar el período para las compañías que están en el RG?
@@pabloherediapastor Pablo gracias por tomarte el tiempo de responder. Eso que dices funcionaria perfectamente. El único problema es que cada usuario que use la webapp va a definir un rango de fechas diferente, en consecuencia, el campo variación estaría cambiando, y afectando a la búsqueda que cada usuario realiza. O no?
@@Francotujk Entiendo! En ese caso probaría a utilizar una combinación de dos plugins. Te paso un hilo del foro de Bubble en el que Gaurav (el creador de los plugins) explica cómo hacerlo: forum.bubble.io/t/bdk-concepts-livesorting-in-bubble/88155