diff --git a/packages/server/src/api/controllers/row/internal.js b/packages/server/src/api/controllers/row/internal.js index d69b3b4a79..84e06f5855 100644 --- a/packages/server/src/api/controllers/row/internal.js +++ b/packages/server/src/api/controllers/row/internal.js @@ -133,7 +133,7 @@ exports.fetchView = async ctx => { const viewName = ctx.params.viewName // if this is a table view being looked for just transfer to that - if (viewName.includes(DocumentTypes.TABLE)) { + if (viewName.startsWith(DocumentTypes.TABLE)) { ctx.params.tableId = viewName return exports.fetch(ctx) }