[gen] Bugfixes.
This commit is contained in:
		
							parent
							
								
									3b18619624
								
							
						
					
					
						commit
						57bab29447
					
				
					 5 changed files with 8 additions and 6 deletions
				
			
		|  | @ -222,7 +222,7 @@ centeredPageLayouts = { | |||
| 
 | ||||
| # The default layout for fields. Alternative layouts may exist and are declared | ||||
| # as static attributes of the concerned Type subclass. | ||||
| defaultFieldLayouts = {'edit': 'lrv-f'} | ||||
| defaultFieldLayouts = {'edit': 'lrv-f', 'search': 'l-f'} | ||||
| 
 | ||||
| # ------------------------------------------------------------------------------ | ||||
| class ColumnLayout: | ||||
|  |  | |||
|  | @ -585,7 +585,7 @@ class ToolMixin(BaseMixin): | |||
|                 hasStar = name.find('*') != -1 | ||||
|                 fieldName = not hasStar and name[2:] or name[2:name.find('*')] | ||||
|                 field = self.getAppyType(fieldName, rq.form['className']) | ||||
|                 if field and not field.persist: continue | ||||
|                 if field and not field.persist and not field.indexed: continue | ||||
|                 # We have a(n interval of) value(s) that is not empty for a | ||||
|                 # given field or index. | ||||
|                 value = rq.form[name] | ||||
|  |  | |||
|  | @ -366,7 +366,7 @@ class ToolWrapper(AbstractWrapper): | |||
| 
 | ||||
|       <!-- Results --> | ||||
|       <tr for="zobj in zobjects" id="query_row" valign="top" | ||||
|           var2="currentNumber=currentNumber + 1; | ||||
|           var2="@currentNumber=currentNumber + 1; | ||||
|                 obj=zobj.appy(); mayView=zobj.mayView()" | ||||
|           class=":loop.zobj.odd and 'even' or 'odd'"> | ||||
|         <td for="column in columns" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gaetan Delannay
						Gaetan Delannay