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

Redirect list convert into a view, exposed filters added. #28

Closed
wants to merge 10 commits into from

Conversation

giancarlosotelo
Copy link
Contributor

Added the view and also added a formatter to Redirect Source item.

@@ -8,7 +8,7 @@
/**
* Implements hook_views_data().
*/
function redirect_views_data() {
function redirect_testing_views_data() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be removed now. (the whole function)

@Berdir
Copy link
Member

Berdir commented Jul 21, 2015

Needs to merged with 8.x-1.x. There is a new created column now that needs to be added to the view and it will conflict on the removed list builder.

@giancarlosotelo
Copy link
Contributor Author

tests are not working because a patch about LanguageFormatter is needed, https://www.drupal.org/node/2461013.

@Berdir
Copy link
Member

Berdir commented Aug 7, 2015

This looks pretty good!

from/to filter doesn't seem to be working, though, might need some custom views plugins.

Also ,in the table settings, we should allow sorting for all columns where it makes sense and sort by created desc by default.

@giancarlosotelo
Copy link
Contributor Author

I was adding a custom view plugin but I realized that changing the operator in the filter criteria was enough. I added a test also for both fields.

@Berdir
Copy link
Member

Berdir commented Aug 10, 2015

Indeed, this works well well now.

Just some cleanup and we're done. Drop redirect.views.inc completely and drop the remaining custom views plugins, we no longer need those.

@Berdir
Copy link
Member

Berdir commented Aug 11, 2015

Very nice, merged!

@Berdir Berdir closed this Aug 11, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants