diff --git a/redturtle/bandi/profiles/default/metadata.xml b/redturtle/bandi/profiles/default/metadata.xml
index 0ad88e5..882cc6e 100644
--- a/redturtle/bandi/profiles/default/metadata.xml
+++ b/redturtle/bandi/profiles/default/metadata.xml
@@ -1,4 +1,4 @@
- 2101
+ 2102
diff --git a/redturtle/bandi/upgrades.py b/redturtle/bandi/upgrades.py
index 39d408a..77c1f5e 100644
--- a/redturtle/bandi/upgrades.py
+++ b/redturtle/bandi/upgrades.py
@@ -170,3 +170,19 @@ def migrate_to_2101(context):
)
bando = brain.getObject()
bando.reindexObject(idxs=['scadenza_bando'])
+
+
+def migrate_to_2102(context):
+ update_catalog(context)
+
+ bandi = api.content.find(portal_type="Bando")
+ tot_results = len(bandi)
+ logger.info("### Fixing {tot} Bandi ###".format(tot=tot_results))
+ for counter, brain in enumerate(bandi):
+ logger.info(
+ "[{counter}/{tot}] - {bando}".format(
+ counter=counter + 1, tot=tot_results, bando=brain.getPath()
+ )
+ )
+ bando = brain.getObject()
+ bando.reindexObject()
diff --git a/redturtle/bandi/upgrades.zcml b/redturtle/bandi/upgrades.zcml
index 8c7263e..9c32caf 100644
--- a/redturtle/bandi/upgrades.zcml
+++ b/redturtle/bandi/upgrades.zcml
@@ -59,4 +59,12 @@
handler=".upgrades.migrate_to_2101"
profile="redturtle.bandi:default" />
+
+