← Back to team overview

mahara-contributors team mailing list archive

[Bug 1233403] Re: adding custom layout duplication

 

Isn't that what the

WHERE (' . $rowscolssql . ')

checks ?

so does a

WHERE ((row = 1 AND columns = 5) OR (row = 2 AND columns = 2) OR (row =
3 AND columns = 5))

for:
5 cols
3 cols
5 cols
grid

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1233403

Title:
  adding custom layout duplication

Status in Mahara ePortfolio:
  In Progress

Bug description:
  In Mahara 1.8 Portfolio -> Pages section

  When I edit the layout for a page and choose the 'create custom
  layout' option I can add a new option that matches existing options. I
  can also add multiple copies of a non existing layout.

  There should be some checking to make sure one is not adding an
  existing option otherwise the available options get quite filled up
  with duplication pretty quickly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1233403/+subscriptions


References