1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 07:09:43 +02:00

doc entry fixes

This commit is contained in:
Harvey Kandola 2016-11-12 12:09:05 -08:00
parent e7c4b2f40b
commit f8de397f33
10 changed files with 17 additions and 34 deletions

View file

@ -46,7 +46,7 @@ func (p *Persister) AddPage(model models.PageModel) (err error) {
err = row.Scan(&maxSeq)
if err != nil {
log.Error("unable to select max page.sequence", err)
maxSeq = 2048
}
model.Page.Sequence = maxSeq * 2