AI2979 - proposal to eliminate the serialized field 'title' for image articles.

Rodrigo Souto rodrigo at colivre.coop.br
Thu Feb 6 18:19:23 BRST 2014


+1

daniel tygel escreveu isso ai:
> Hi all,
> 
> We are trying to work on AI2979, which is to order the images in a
> gallery alphabetically, and not by the filename.
> 
> Now we got a huge surprise: The article of the image does NOT use
> the attribute name (!!!). Instead, the code in noosfero creates an
> attribute "title" inside the "data" attribute, i.e., it's
> serialized.
> 
> Our question was: why?Why not using the attribute 'name' for the
> title of the image, if the article already points to an image where
> we have the filename? The name now is the filename, which is
> useless. In other words: we have an indexed attribute 'name' not
> being used, and we have a serialized attribute 'title', which is
> essential. We checked and found this piece of code creating the
> 'title' as serialized field on an old commit from 3 years ago:
> d9eb363
> 
> We're proposing to eliminate the serialized field "title", and
> migrate the data for this field to the attribute "name". In this
> way, images will be sortable by their names, and not by the useless
> filename. The images are already ordered by the 'name' attribute,
> and therefore are ordered by the filename. We are willing to do this
> change.
> 
> Do you have something against we proposing this merge-request?
> 
> Thank you,
> 
> daniel and braulio
> 
> -- 
> (_.-~*´¨¯¨`*·~-.,-( •_•)-,.-~*´¨¯¨`*·~-._)
>           .
>     ,-. . |- ,-.          Educação,
>     |-' | |  ,-|          Informação e
>     `-' ' `' `-^          Tecnologia para
>  http://eita.org.br       Autogestão
> 
> (_.-~*´¨¯¨`*·~-.,-( •_•)-,.-~*´¨¯¨`*·~-._)
> 
> _______________________________________________
> Noosfero-dev mailing list
> Noosfero-dev at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-dev

-- 
Rodrigo Souto <rodrigo at colivre.coop.br> :: 55 71 8131-7714
Colivre - Cooperativa de Tecnologias Livres
http://www.colivre.coop.br/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20140206/273bc970/attachment.pgp>


More information about the Noosfero-dev mailing list