Using the following definition:

``
name: search
table: artikel
fields: titel, opsomming, sleutelwoorde, publikasiejaar, joernaal_id,
outeur_id, instansie_id,  isi_indeks, isap_indeks
``:widget

I get this error:

Traceback (most recent call last):
  File "/home/js/web2py/applications/init/models/plugin_wiki.py", line
592, in render_widget
    html = getattr(PluginWikiWidgets,name)(**args)
  File "/home/js/web2py/applications/init/models/plugin_wiki.py", line
228, in search
    fields=['%s.%s' % (table,f.spritp()) for f in fields.split(',')]
AttributeError: 'str' object has no attribute 'spritp'

My mistake or a bug?

Johann
-- 
 May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord!  His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
                                                    2 Pet. 1:2b,3a

Reply via email to