Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urlsync and sort #102

Open
yaca29 opened this issue Oct 14, 2016 · 2 comments
Open

urlsync and sort #102

yaca29 opened this issue Oct 14, 2016 · 2 comments

Comments

@yaca29
Copy link

yaca29 commented Oct 14, 2016

hi,

I like the setting urlsync in odsDatasetContext, but i have a problem with the sort of the records.

If i have no parameter on my url (like http://www.enseignementsup-recherche.gouv.fr/cid106062/referens.html), the records are not sorted by the default fields of my dataset.

In one of my case, the order of the fields is important. Is there any way to have the good sort ?

If not, is it possible to improve the odsDatasetContext's widget to respect the default sort ?

Thanks in advance for the answer,

Kindly

Yann

@richterb
Copy link
Contributor

In theory, if there is nothing in the URL, urlsync should not touch the sort parameter at all. I'd like to have a look at your example, but the URL seems broken today?

@yaca29
Copy link
Author

yaca29 commented Oct 17, 2016

Hi Benoit,

The url is protect (

This is another example :
http://data.enseignementsup-recherche.gouv.fr/pages/rechercher_referens_iii_itrf/

By default, the dataset is sorted by referens_id, but the results in this case don't.

It's works only if I add the sort parameter at the url :
http://data.enseignementsup-recherche.gouv.fr/pages/rechercher_referens_iii_itrf/?sort=referens_id

The dataset fr-esr_referentiel_metier_referens_3 is not yet public.

Kindly

Yann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants