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:
parent
e7c4b2f40b
commit
f8de397f33
10 changed files with 17 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue