Browse Source

Merge pull request #231 from Philreact/bugfix/profile-not-showing

add mode all for profile
master
AlphaX-Projects 10 months ago committed by GitHub
parent
commit
fb93738013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      core/src/components/friends-view/profile.js
  2. 2
      core/src/components/friends-view/save-settings-qdn.js

4
core/src/components/friends-view/profile.js

@ -379,7 +379,7 @@ class ProfileQdn extends connect(store)(LitElement) {
this.isLoadingVisitingProfile = true;
this.nameVisiting = name;
this.checkIfInFriendsList(this.nameVisiting);
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT&identifier=qortal_profile&name=${name}&prefix=true&exactmatchnames=true&excludeblocked=true&limit=20`;
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT&identifier=qortal_profile&mode=ALL&name=${name}&prefix=true&exactmatchnames=true&excludeblocked=true&limit=20`;
const res = await fetch(url);
let data = '';
try {
@ -443,7 +443,7 @@ class ProfileQdn extends connect(store)(LitElement) {
this.hasName = true;
const name = nameObject.name;
this.name = name;
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT&identifier=qortal_profile&name=${name}&prefix=true&exactmatchnames=true&excludeblocked=true&limit=20`;
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT&mode=ALL&identifier=qortal_profile&name=${name}&prefix=true&exactmatchnames=true&excludeblocked=true&limit=20`;
const res = await fetch(url);
let data = '';
try {

2
core/src/components/friends-view/save-settings-qdn.js

@ -342,7 +342,7 @@ class SaveSettingsQdn extends connect(store)(LitElement) {
this.name = name;
this.hasName = true
this.error = '';
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT_PRIVATE&identifier=qortal_general_settings&name=${name}&prefix=true&exactmatchnames=true&excludeblocked=true&limit=20`;
const url = `${this.nodeUrl}/arbitrary/resources/search?service=DOCUMENT_PRIVATE&mode=ALL&identifier=qortal_general_settings&name=${name}&prefix=true&exactmatchnames=true&excludeblocked=true&limit=20`;
const res = await fetch(url);
let data = '';
try {

Loading…
Cancel
Save