Skip to content

Commit

Permalink
Merge pull request #1116 from folio-org/MODINVSTOR-1292
Browse files Browse the repository at this point in the history
MODINVSTOR-1292: Add item barcode right truncation search index
  • Loading branch information
julianladisch authored Dec 5, 2024
2 parents 3621165 + 85327a7 commit 746d3ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Implement Kafka Event Publishing for Call-Number Type CRUD Operations ([MODINVSTOR-1275](https://folio-org.atlassian.net/browse/MODINVSTOR-1275))

### Bug fixes
* Description ([ISSUE](https://folio-org.atlassian.net/browse/ISSUE))
* Add item barcode right truncation search index ([MODINVSTOR-1292](https://folio-org.atlassian.net/browse/MODINVSTOR-1292))

### Tech Dept
* Description ([ISSUE](https://folio-org.atlassian.net/browse/ISSUE))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CREATE INDEX IF NOT EXISTS item_barcode_idx_pattern
ON ${myuniversity}_${mymodule}.item (lower(jsonb->>'barcode') text_pattern_ops);
5 changes: 5 additions & 0 deletions src/main/resources/templates/db_scripts/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,11 @@
"run": "after",
"snippetPath": "publication-period/migratePublicationPeriod.sql",
"fromModuleVersion": "28.0.0"
},
{
"run": "after",
"snippetPath": "createIndexBarcodePattern.sql",
"fromModuleVersion": "28.0.3"
}
]
}

0 comments on commit 746d3ad

Please sign in to comment.